#include <gradient.h>
◆ 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] | mesh | Mesh class than one can query for mesh info |
[in] | state | A state manager class that one can query for field info |
[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
◆ 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 >
◆ 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