ASPECT
Public Member Functions | List of all members
aspect::Particle::internal::SolutionEvaluators< dim > Class Template Referenceabstract

Public Member Functions

virtual ~SolutionEvaluators ()=default
 
virtual void reinit (const typename DoFHandler< dim >::active_cell_iterator &cell, const ArrayView< Point< dim >> &positions, const ArrayView< double > &solution_values, const UpdateFlags update_flags)=0
 
virtual void get_solution (const unsigned int evaluation_point, Vector< double > &solution)=0
 
virtual void get_gradients (const unsigned int evaluation_point, std::vector< Tensor< 1, dim >> &gradients)=0
 
virtual FEPointEvaluation< dim, dim > & get_velocity_or_fluid_velocity_evaluator (const bool use_fluid_velocity)=0
 
virtual NonMatching::MappingInfo< dim > & get_mapping_info ()=0
 

Detailed Description

template<int dim>
class aspect::Particle::internal::SolutionEvaluators< dim >

This class evaluates the solution vector at arbitrary positions inside a cell. This base class only provides the interface for SolutionEvaluatorsImplementation. See there for more details.

Definition at line 78 of file world.h.

Constructor & Destructor Documentation

§ ~SolutionEvaluators()

template<int dim>
virtual aspect::Particle::internal::SolutionEvaluators< dim >::~SolutionEvaluators ( )
virtualdefault

virtual Destructor.

Member Function Documentation

§ reinit()

template<int dim>
virtual void aspect::Particle::internal::SolutionEvaluators< dim >::reinit ( const typename DoFHandler< dim >::active_cell_iterator &  cell,
const ArrayView< Point< dim >> &  positions,
const ArrayView< double > &  solution_values,
const UpdateFlags  update_flags 
)
pure virtual

Reinitialize all variables to evaluate the given solution for the given cell and the given positions. The update flags control if only the solution or also the gradients should be evaluated. If other flags are set an assertion is triggered.

§ get_solution()

template<int dim>
virtual void aspect::Particle::internal::SolutionEvaluators< dim >::get_solution ( const unsigned int  evaluation_point,
Vector< double > &  solution 
)
pure virtual

Fill solution with all solution components at the given evaluation_point. Note that this function only works after a successful call to reinit(), because this function only returns the results of the computation that happened in reinit().

§ get_gradients()

template<int dim>
virtual void aspect::Particle::internal::SolutionEvaluators< dim >::get_gradients ( const unsigned int  evaluation_point,
std::vector< Tensor< 1, dim >> &  gradients 
)
pure virtual

Fill gradients with all solution gradients at the given evaluation_point. Note that this function only works after a successful call to reinit(), because this function only returns the results of the computation that happened in reinit().

§ get_velocity_or_fluid_velocity_evaluator()

template<int dim>
virtual FEPointEvaluation<dim, dim>& aspect::Particle::internal::SolutionEvaluators< dim >::get_velocity_or_fluid_velocity_evaluator ( const bool  use_fluid_velocity)
pure virtual

Return the evaluator for velocity or fluid velocity. This is the only information necessary for advecting particles.

§ get_mapping_info()

template<int dim>
virtual NonMatching::MappingInfo<dim>& aspect::Particle::internal::SolutionEvaluators< dim >::get_mapping_info ( )
pure virtual

Return the cached mapping information.


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