
Protected Attributes | |
| std::vector< Real > | _mins |
| std::vector< unsigned int > | _nelem |
| std::vector< Real > | _widths |
| std::vector< std::vector< Real > > | _cosines |
| const FunctionBase * | _master |
| bool | _initialized |
| bool | _is_time_dependent |
This object is passed to MeshTools::Modification::redistribute() to redistribute the points on a uniform grid into the Gauss-Lobatto points on the actual grid.
Definition at line 144 of file mesh_generation.C.
|
inline |
Constructor.
Definition at line 150 of file mesh_generation.C.
References _cosines, _mins, _nelem, _widths, libMesh::pi, and libMesh::Real.
|
default |
The 5 special functions can be defaulted for this class.
|
default |
|
virtualdefault |
|
inlinevirtualinherited |
|
inlineoverridevirtual |
We must provide a way to clone ourselves to satisfy the pure virtual interface. We use the autogenerated copy constructor.
Implements libMesh::FunctionBase< Real >.
Definition at line 200 of file mesh_generation.C.
|
inlinevirtualinherited |
i at coordinate p and time time.Definition at line 228 of file function_base.h.
|
inlinevirtualinherited |
|
inlineinherited |
true when this object is properly initialized and ready for use, false otherwise. Definition at line 206 of file function_base.h.
|
inlineinherited |
true when the function this object represents is actually time-dependent, false otherwise. Definition at line 220 of file function_base.h.
|
inlineinherited |
Evaluation function for time-independent vector-valued functions. Sets output values in the passed-in output DenseVector.
Definition at line 241 of file function_base.h.
|
inlineoverridevirtual |
This is the actual function that MeshTools::Modification::redistribute() calls. Moves the points of the grid to the Gauss-Lobatto points.
Implements libMesh::FunctionBase< Real >.
Definition at line 210 of file mesh_generation.C.
References _cosines, _mins, _nelem, _widths, std::abs(), libMesh::Real, libMesh::DenseVector< T >::resize(), and libMesh::TOLERANCE.
|
inlineoverridevirtual |
We must also override operator() which returns a Real, but this function should never be called, so it's left unimplemented.
Implements libMesh::FunctionBase< Real >.
Definition at line 273 of file mesh_generation.C.
|
default |
|
default |
|
inlineinherited |
Function to set whether this is a time-dependent function or not. This is intended to be only used by subclasses who cannot natively determine time-dependence. In such a case, this function should be used immediately following construction.
Definition at line 213 of file function_base.h.
|
protected |
Definition at line 286 of file mesh_generation.C.
Referenced by GaussLobattoRedistributionFunction(), and operator()().
|
protectedinherited |
When init() was called so that everything is ready for calls to operator() (...), then this bool is true.
Definition at line 180 of file function_base.h.
|
protectedinherited |
Cache whether or not this function is actually time-dependent.
Definition at line 185 of file function_base.h.
|
protectedinherited |
Const pointer to our master, initialized to nullptr. There may be cases where multiple functions are required, but to save memory, one master handles some centralized data.
Definition at line 174 of file function_base.h.
|
protected |
Definition at line 281 of file mesh_generation.C.
Referenced by GaussLobattoRedistributionFunction(), and operator()().
|
protected |
Definition at line 282 of file mesh_generation.C.
Referenced by GaussLobattoRedistributionFunction(), and operator()().
|
protected |
Definition at line 283 of file mesh_generation.C.
Referenced by GaussLobattoRedistributionFunction(), and operator()().