|
ASPECT
|
Public Member Functions | |
| DynamicFEPointEvaluation (const unsigned int first_component, const unsigned int n_components) | |
| virtual | ~DynamicFEPointEvaluation ()=default |
| virtual void | evaluate (const ArrayView< double > &solution_values, const EvaluationFlags::EvaluationFlags flags)=0 |
| virtual small_vector< Tensor< 1, dim > > | get_gradient (const unsigned int evaluation_point) const =0 |
| virtual void | get_gradient (const unsigned int evaluation_point, const ArrayView< Tensor< 1, dim >> &gradients) const =0 |
| virtual small_vector< double > | get_value (const unsigned int evaluation_point) const =0 |
| virtual void | get_value (const unsigned int evaluation_point, const ArrayView< double > &solution) const =0 |
| virtual unsigned int | get_first_component () const final |
| virtual unsigned int | get_n_components () const final |
Private Attributes | |
| unsigned int | first_component |
| unsigned int | n_components |
Wrapper around ::FEPointEvaluation to choose number of components dynamically. This class is only an abstract base class that can be used to implement derived classes.
Definition at line 43 of file solution_evaluator.h.
|
inline |
Constructor which allows to select at run time the first_component and the n_components.
Definition at line 49 of file solution_evaluator.h.
References aspect::internal::DynamicFEPointEvaluation< dim >::evaluate(), aspect::internal::DynamicFEPointEvaluation< dim >::get_gradient(), aspect::internal::DynamicFEPointEvaluation< dim >::get_value(), and aspect::internal::DynamicFEPointEvaluation< dim >::~DynamicFEPointEvaluation().
|
virtualdefault |
Destructor.
Referenced by aspect::internal::DynamicFEPointEvaluation< dim >::DynamicFEPointEvaluation().
|
pure virtual |
Evaluate the solution at the given positions.
solution_values contains the values of the degrees of freedom. flags controls which values should be computed.
Referenced by aspect::internal::DynamicFEPointEvaluation< dim >::DynamicFEPointEvaluation().
|
pure virtual |
Return the gradient of the solution at the given evaluation_point.
Referenced by aspect::internal::DynamicFEPointEvaluation< dim >::DynamicFEPointEvaluation().
|
pure virtual |
Copy the gradient of the solution at the given evaluation_point into the array gradients.
|
pure virtual |
Return the value of the solution at the given evaluation_point.
Referenced by aspect::internal::DynamicFEPointEvaluation< dim >::DynamicFEPointEvaluation().
|
pure virtual |
Copy the value of the solution at the given evaluation_point. into the array solution.
|
inlinefinalvirtual |
Return the first component of the solution vector.
Definition at line 105 of file solution_evaluator.h.
References aspect::internal::DynamicFEPointEvaluation< dim >::first_component.
|
inlinefinalvirtual |
Return the number of components of the solution vector.
Definition at line 115 of file solution_evaluator.h.
References aspect::internal::DynamicFEPointEvaluation< dim >::n_components.
|
private |
The first component of the solution vector.
Definition at line 124 of file solution_evaluator.h.
Referenced by aspect::internal::DynamicFEPointEvaluation< dim >::get_first_component().
|
private |
The number of components of the solution vector.
Definition at line 129 of file solution_evaluator.h.
Referenced by aspect::internal::DynamicFEPointEvaluation< dim >::get_n_components().