ASPECT
Public Member Functions | List of all members
aspect::Assemblers::AdvectionStabilizationInterface< dim > Class Template Reference
Inheritance diagram for aspect::Assemblers::AdvectionStabilizationInterface< dim >:
Inheritance graph
[legend]

Public Member Functions

virtual ~AdvectionStabilizationInterface ()
 
virtual std::vector< double > advection_prefactors (internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const
 
virtual std::vector< double > diffusion_prefactors (internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const
 

Detailed Description

template<int dim>
class aspect::Assemblers::AdvectionStabilizationInterface< dim >

A base class for objects that implement assembly operations for advection-diffusion problems.

This class implements functions that provide information for stabilization mechanisms.

Definition at line 625 of file interface.h.

Constructor & Destructor Documentation

§ ~AdvectionStabilizationInterface()

Member Function Documentation

§ advection_prefactors()

template<int dim>
virtual std::vector<double> aspect::Assemblers::AdvectionStabilizationInterface< dim >::advection_prefactors ( internal::Assembly::Scratch::ScratchBase< dim > &  scratch_base) const
virtual

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 in aspect::Assemblers::DiffusionSystem< dim >.

§ diffusion_prefactors()

template<int dim>
virtual std::vector<double> aspect::Assemblers::AdvectionStabilizationInterface< dim >::diffusion_prefactors ( internal::Assembly::Scratch::ScratchBase< dim > &  scratch_base) const
virtual

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 in aspect::Assemblers::DiffusionSystem< dim >.


The documentation for this class was generated from the following file: