Portage::Limited_Gradient< D, on_what, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys > Class Template Reference
Compute limited gradient of a field or components of a field. More...
#include <gradient.h>
Public Member Functions | |
Limited_Gradient (Mesh const &mesh, State const &state, std::string const var_name, Limiter_type limiter_type, Boundary_Limiter_type boundary_limiter_type, const Part< Mesh, State > *part=nullptr) | |
Constructor. More... | |
Limited_Gradient & | operator= (const Limited_Gradient &)=delete |
~Limited_Gradient ()=default | |
Vector< D > | operator() (int entity_id) |
Detailed Description
template<int D, Entity_kind on_what, typename Mesh, typename State, template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void, class CoordSys = Wonton::DefaultCoordSys>
class Portage::Limited_Gradient< D, on_what, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >
Compute limited gradient of a field or components of a field.
- Template Parameters
-
Mesh A mesh class that one can query for mesh info State A state manager class that one can query for field info on_what An enum type which indicates different entity types
Constructor & Destructor Documentation
◆ Limited_Gradient()
template<int D, Entity_kind on_what, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void, class CoordSys = Wonton::DefaultCoordSys>
|
inline |
Constructor.
- Parameters
-
[in] mesh Mesh class than one can query for mesh info [in] state A state manager class that one can query for field info [in] on_what An enum that indicates what type of entity the field is on [in] var_name Name of field for which the gradient is to be computed [in] limiter_type An enum indicating if the limiter type (none, Barth-Jespersen, Superbee etc) [in] Boundary_Limiter_type An enum indicating the limiter type on the boundary
- Todo:
- must remove assumption that field is scalar
◆ ~Limited_Gradient()
template<int D, Entity_kind on_what, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void, class CoordSys = Wonton::DefaultCoordSys>
|
default |
Member Function Documentation
◆ operator()()
template<int D, Entity_kind on_what, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void, class CoordSys = Wonton::DefaultCoordSys>
|
inline |
◆ operator=()
template<int D, Entity_kind on_what, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void, class CoordSys = Wonton::DefaultCoordSys>
|
delete |
The documentation for this class was generated from the following file:
- /home/portage/portage/portage/interpolate/gradient.h