Portage::Limited_Gradient< D, Entity_kind::NODE, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys > Class Template Reference

#include <gradient.h>

Public Member Functions

 Limited_Gradient (Mesh const &mesh, State const &state, std::string var_name, Limiter_type limiter_type, Boundary_Limiter_type boundary_limiter_type, const Part< Mesh, State > *part=nullptr)
 Constructor. More...
 
void set_material (int material_id)
 
void set_interpolation_variable (std::string const &variable_name, Limiter_type limiter_type, Boundary_Limiter_type boundary_limiter_type)
 
Vector< D > operator() (int nodeid)
 

Constructor & Destructor Documentation

◆ Limited_Gradient()

template<int D, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType, class Matpoly_Splitter , class Matpoly_Clipper , class CoordSys >
Portage::Limited_Gradient< D, Entity_kind::NODE, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::Limited_Gradient ( Mesh const &  mesh,
State const &  state,
std::string  var_name,
Limiter_type  limiter_type,
Boundary_Limiter_type  boundary_limiter_type,
const Part< Mesh, State > *  part = nullptr 
)
inline

Constructor.

Parameters
[in]meshMesh class than one can query for mesh info
[in]stateA state manager class that one can query for field info
[in]var_nameName of field for which the gradient is to be computed
[in]limiter_typeAn enum indicating if the limiter type (none, Barth-Jespersen, Superbee etc)
[in]boundary_limiter_typeAn enum indicating the limiter type on the boundary
Todo:
must remove assumption that field is scalar

Member Function Documentation

◆ operator()()

template<int D, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType, class Matpoly_Splitter , class Matpoly_Clipper , class CoordSys >
Vector<D> Portage::Limited_Gradient< D, Entity_kind::NODE, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::operator() ( int  nodeid)
inline

◆ set_interpolation_variable()

template<int D, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType, class Matpoly_Splitter , class Matpoly_Clipper , class CoordSys >
void Portage::Limited_Gradient< D, Entity_kind::NODE, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::set_interpolation_variable ( std::string const &  variable_name,
Limiter_type  limiter_type,
Boundary_Limiter_type  boundary_limiter_type 
)
inline

◆ set_material()

template<int D, typename Mesh , typename State , template< class, int, class, class > class InterfaceReconstructorType, class Matpoly_Splitter , class Matpoly_Clipper , class CoordSys >
void Portage::Limited_Gradient< D, Entity_kind::NODE, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::set_material ( int  material_id)
inline

The documentation for this class was generated from the following file:
  • /home/portage/portage/portage/interpolate/gradient.h