MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::JumpScaling Class Reference

#include <gridfunc.hpp>

Public Types

enum  JumpScalingType { CONSTANT , ONE_OVER_H , P_SQUARED_OVER_H }
 

Public Member Functions

 JumpScaling (real_t nu_=1.0, JumpScalingType type_=CONSTANT)
 
real_t Eval (real_t h, int p) const
 

Detailed Description

Class used to specify how the jump terms in GridFunction::ComputeDGFaceJumpError are scaled.

Definition at line 774 of file gridfunc.hpp.

Member Enumeration Documentation

◆ JumpScalingType

Enumerator
CONSTANT 
ONE_OVER_H 
P_SQUARED_OVER_H 

Definition at line 777 of file gridfunc.hpp.

Constructor & Destructor Documentation

◆ JumpScaling()

mfem::JumpScaling::JumpScaling ( real_t nu_ = 1.0,
JumpScalingType type_ = CONSTANT )
inline

Definition at line 787 of file gridfunc.hpp.

Member Function Documentation

◆ Eval()

real_t mfem::JumpScaling::Eval ( real_t h,
int p ) const
inline

Definition at line 789 of file gridfunc.hpp.


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