[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::BoundPreservingLimiterState< dim, nstate, real > Class Template Referenceabstract

Base Class for bound preserving limiters templated on state. More...

#include <bound_preserving_limiter.h>

Inheritance diagram for PHiLiP::BoundPreservingLimiterState< dim, nstate, real >:
Collaboration diagram for PHiLiP::BoundPreservingLimiterState< dim, nstate, real >:

Public Member Functions

 BoundPreservingLimiterState (const Parameters::AllParameters *const parameters_input)
 Constructor.
 
 ~BoundPreservingLimiterState ()=default
 Destructor.
 
virtual void limit (dealii::LinearAlgebra::distributed::Vector< double > &solution, const dealii::DoFHandler< dim > &dof_handler, const dealii::hp::FECollection< dim > &fe_collection, const dealii::hp::QCollection< dim > &volume_quadrature_collection, const unsigned int grid_degree, const unsigned int max_degree, const dealii::hp::FECollection< 1 > oneD_fe_collection_1state, const dealii::hp::QCollection< 1 > oneD_quadrature_collection)=0
 Function to limit the solution.
 
std::array< real, nstateget_soln_cell_avg (const std::array< std::vector< real >, nstate > &soln_at_q, const unsigned int n_quad_pts, const std::vector< real > &quad_weights)
 Function to obtain the solution cell average.
 
- Public Member Functions inherited from PHiLiP::BoundPreservingLimiter< dim, real >
 BoundPreservingLimiter (const int nstate_input, const Parameters::AllParameters *const parameters_input)
 Constructor.
 
 ~BoundPreservingLimiter ()=default
 Destructor.
 

Additional Inherited Members

- Public Attributes inherited from PHiLiP::BoundPreservingLimiter< dim, real >
const int nstate
 Number of states.
 
const Parameters::AllParameters *const all_parameters
 Pointer to parameters object.
 

Detailed Description

template<int dim, int nstate, typename real>
class PHiLiP::BoundPreservingLimiterState< dim, nstate, real >

Base Class for bound preserving limiters templated on state.

Definition at line 54 of file bound_preserving_limiter.h.


The documentation for this class was generated from the following files: