Portage::Limited_Gradient< D, Entity_kind::CELL, 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)
 
void set_material (int matid)
 
void set_interpolation_variable (std::string variable_name, Limiter_type limiter_type, Boundary_Limiter_type boundary_limiter_type)
 
Vector< D > operator() (int cellid)
 

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::CELL, 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

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::CELL, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::operator() ( int  cellid)
inline
Todo:
: must remove assumption the field is scalar

◆ 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::CELL, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::set_interpolation_variable ( std::string  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::CELL, Mesh, State, InterfaceReconstructorType, Matpoly_Splitter, Matpoly_Clipper, CoordSys >::set_material ( int  matid)
inline

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