Portage::Limited_Quadfit< D, on_what, MeshType, StateType > Class Template Reference

Compute limited quadfit of a field or components of a field. More...

#include <quadfit.h>

Public Member Functions

 Limited_Quadfit (MeshType const &mesh, StateType const &state, std::string const var_name, Limiter_type limiter_type, Boundary_Limiter_type Boundary_Limiter_type)
 Constructor. More...
 
Limited_Quadfitoperator= (const Limited_Quadfit &)=delete
 Assignment operator (disabled) More...
 
 ~Limited_Quadfit ()=default
 Destructor. More...
 
Vector< D *(D+3)/2 > operator() (int entity_id)
 

Detailed Description

template<int D, Entity_kind on_what, typename MeshType, typename StateType>
class Portage::Limited_Quadfit< D, on_what, MeshType, StateType >

Compute limited quadfit of a field or components of a field.

Template Parameters
MeshTypeA mesh class that one can query for mesh info
StateTypeA state manager class that one can query for field info
on_whatAn enum type which indicates different entity types

Constructor & Destructor Documentation

◆ Limited_Quadfit()

template<int D, Entity_kind on_what, typename MeshType, typename StateType>
Portage::Limited_Quadfit< D, on_what, MeshType, StateType >::Limited_Quadfit ( MeshType const &  mesh,
StateType const &  state,
std::string const  var_name,
Limiter_type  limiter_type,
Boundary_Limiter_type  Boundary_Limiter_type 
)
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]on_whatAn enum that indicates what type of entity the field is on
[in]var_nameName of field for which the quadfit 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

◆ ~Limited_Quadfit()

template<int D, Entity_kind on_what, typename MeshType, typename StateType>
Portage::Limited_Quadfit< D, on_what, MeshType, StateType >::~Limited_Quadfit ( )
default

Destructor.

Member Function Documentation

◆ operator()()

template<int D, Entity_kind on_what, typename MeshType, typename StateType>
Vector<D*(D+3)/2> Portage::Limited_Quadfit< D, on_what, MeshType, StateType >::operator() ( int  entity_id)
inline

Functor - not implemented for all types - see specialization for cells, nodes

◆ operator=()

template<int D, Entity_kind on_what, typename MeshType, typename StateType>
Limited_Quadfit& Portage::Limited_Quadfit< D, on_what, MeshType, StateType >::operator= ( const Limited_Quadfit< D, on_what, MeshType, StateType > &  )
delete

Assignment operator (disabled)

Todo:
Seems to be needed when using this in a Thrust transform call?

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