![]() |
ASPECT
|
Private Attributes | |
unsigned int | n_components |
MaterialModel::MaterialModelInputs< dim > | material_inputs |
Additional Inherited Members | |
![]() | |
static void | declare_parameters (ParameterHandler &prm) |
![]() | |
static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
![]() | |
unsigned int | data_position |
A class that calculates the finite strain invariant a particle has experienced and assigns it to either the plastic and/or viscous strain field based on whether the material is plastically yielding, or the total strain field used in the visco plastic material model. The implementation of this property is equivalent to the implementation for compositional fields that is located in the plugin benchmarks/buiter_et_al_2008_jgr/plugin/finite_strain_invariant.cc
, and is effectively the same as what the visco plastic material model uses for compositional fields.
Definition at line 45 of file viscoplastic_strain_invariants.h.
aspect::Particle::Property::ViscoPlasticStrainInvariant< dim >::ViscoPlasticStrainInvariant | ( | ) |
Constructor.
|
overridevirtual |
Initialization function. This function is called once at the beginning of the program after parse_parameters() is run and after the SimulatorAccess (if applicable) is initialized.
The default implementation of this function does nothing, but plugins that derive from this class (via the Interface
classes of their respective plugin systems) may overload it if they want something to happen upon startup of the Simulator object to which the plugin contributes.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Initialization function. This function is called once at the creation of every particle for every property to initialize its value.
[in] | position | The current particle position. |
[in,out] | particle_properties | The properties of the particle that is initialized within the call of this function. The purpose of this function should be to extend this vector by a number of properties. |
Reimplemented from aspect::Particle::Property::Interface< dim >.
|
overridevirtual |
Update function. This function is called every time an update is requested by need_update() for every cell for every property. It is expected to update the properties of all particles in the given range particles
, which are all in one cell. It is obvious that this function is called a lot, so its code should be efficient. The interface provides a default implementation that does nothing, therefore derived plugins that do not require an update do not need to implement this function.
[in] | inputs | A struct of type ParticleUpdateInputs that contains all necessary inputs to compute the particle updates. See the documentation of this struct in include/aspect/particle/property/interface.h for a list of all available inputs. |
[in,out] | particles | The particles that are to be updated within this function. |
Reimplemented from aspect::Particle::Property::Interface< dim >.
|
overridevirtual |
Returns an enum, which determines at what times particle properties are updated. The default implementation returns update_never, which signals that particle properties should never be updated. See the documentation of UpdateTimeFlags for a list of possible values and examples for their use. Every plugin that implements this function should return the value appropriate for its purpose, unless it does not need any update, which is the default. This option saves considerable computation time in cases, when no plugin needs to update particle properties over time.
Reimplemented from aspect::Particle::Property::Interface< dim >.
|
overridevirtual |
Return which data of the solution component component
has to be provided to update the current particle property.
Note that particle properties can only ask for update_default (no data), update_values (solution values), and update_gradients (solution gradients). All other update flags will have no effect.
As an example consider a particle property that depends on the solution values and gradients of the velocity field. In this case the function should return update_values | update_gradients if the component
is one of the velocity components, and update_default otherwise.
component | The component of the solution which is to be evaluated. |
component
that is required for this particle property. Reimplemented from aspect::Particle::Property::Interface< dim >.
|
overridevirtual |
Set up the information about the names and number of components this property requires. Derived classes need to implement this function.
The purpose of this function is to return a vector of pairs of a property name and the number of components associated with this name (e.g. 1 for scalar properties, n for n-dimensional vectors).
Implements aspect::Particle::Property::Interface< dim >.
|
private |
Definition at line 89 of file viscoplastic_strain_invariants.h.
|
mutableprivate |
An object that is used to compute the particle property. Since the object is expensive to create and is needed often it is kept as a member variable. Because it is changed inside a const member function (update_particle_property) it has to be mutable, but since it is only used inside that function and always set before being used that is not a problem. This implementation is not thread safe, but it is currently not used in a threaded context.
Definition at line 100 of file viscoplastic_strain_invariants.h.