Helper class used with FEInterface::compute_data(). More...
#include <fe_compute_data.h>
Public Member Functions | |
| FEComputeData (const EquationSystems &es, const Point &pin) | |
| void | clear () |
| void | init () |
Public Attributes | |
| const EquationSystems & | equation_systems |
| const Point & | p |
| std::vector< Number > | shape |
| Real | phase |
| Real | speed |
| Number | frequency |
Helper class used with FEInterface::compute_data().
class FEComputeData hides arbitrary data to be passed to and from children of FEBase through the FEInterface::compute_data() method. This enables the efficient computation of data on the finite element level, while maintaining library integrity.
FEInterface::shape() in a std::vector<Number>.Definition at line 50 of file fe_compute_data.h.
|
inline |
Constructor. Takes the required input data and clears the output data using clear().
Definition at line 57 of file fe_compute_data.h.
References clear().
| void libMesh::FEComputeData::clear | ( | ) |
Clears the output data completely.
Definition at line 25 of file fe_compute_data.C.
References frequency, phase, shape, and speed.
Referenced by FEComputeData().
| void libMesh::FEComputeData::init | ( | ) |
Inits the output data to default values, provided the fields are correctly resized.
Definition at line 38 of file fe_compute_data.C.
References equation_systems, frequency, libMesh::Parameters::get(), libMesh::Parameters::have_parameter(), libMesh::EquationSystems::parameters, phase, libMesh::Real, shape, and speed.
| const EquationSystems& libMesh::FEComputeData::equation_systems |
Const reference to the EquationSystems object that contains simulation-specific data.
Definition at line 69 of file fe_compute_data.h.
Referenced by init().
| Number libMesh::FEComputeData::frequency |
The frequency to evaluate shape functions including the wave number depending terms. Use imaginary contributions for exponential damping
Definition at line 98 of file fe_compute_data.h.
| const Point& libMesh::FEComputeData::p |
Holds the point where the data are to be computed
Definition at line 74 of file fe_compute_data.h.
| Real libMesh::FEComputeData::phase |
Storage for the computed phase lag
Definition at line 86 of file fe_compute_data.h.
| std::vector<Number> libMesh::FEComputeData::shape |
Storage for the computed shape function values.
Definition at line 79 of file fe_compute_data.h.
| Real libMesh::FEComputeData::speed |