ASPECT
|
Additional Inherited Members | |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
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) |
This class assembles the terms for the matrix and right-hand-side equation for the current cell in case we only want to solve the diffusion equation.
Definition at line 70 of file advection.h.
|
overridevirtual |
Execute this assembler object. This function performs the primary work of an assembler. More precisely, it uses information for the current cell that is stored in scratch
(like the material properties on this cell and the position of quadrature points) and computes the matrix and right hand side contributions for a set of terms for the given cell. These contributions are stored in data
. Note, that the data in scratch
and data
is shared between all active assemblers so that each assembler should only add contributions to data
, not overwrite entries in the matrix. After all assemblers have finished, the final content of data
is distributed into the global matrix and right hand side vector.
Implements aspect::Assemblers::Interface< dim >.
|
overridevirtual |
A required function for objects that implement the assembly of terms in an equation that requires the computation of residuals (in particular the advection equation in ASPECT). Just like the assemblers itself, the residual that we use to compute the necessary entropy viscosity depend on the equation (i.e. which terms are actually included in the equation). Thus different objects compute different residuals (i.e. the residual for a melt advection equation looks different from the residual for a passive compositional field). For assemblers for the Stokes system, an implementation of this function is not necessary.
Reimplemented from aspect::Assemblers::Interface< dim >.
|
overridevirtual |
This function returns a representative prefactor for the advection term of the equation for each quadrature point of the current cell. In the non-dimensional case this is simply 1.0, but for other quantities like temperature it is computed using physical units (like density and specific heat capacity). This information is useful for algorithms that depend on the magnitude of individual terms, like stabilization methods.
Reimplemented from aspect::Assemblers::AdvectionStabilizationInterface< dim >.
|
overridevirtual |
This function returns a representative conductivity for the diffusion part of the equation for each quadrature point of the current cell. For the pure advection case this factor is 0.0, but for other quantities like temperature it is computed using physical units (like thermal conductivity). This information is useful for algorithms depending on the magnitude of individual terms, like stabilization methods.
Reimplemented from aspect::Assemblers::AdvectionStabilizationInterface< dim >.