MFEM  v4.5.2
Finite element discretization library
Public Types | Public Member Functions | List of all members
mfem::JumpScaling Class Reference

#include <gridfunc.hpp>

Public Types

enum  JumpScalingType { CONSTANT, ONE_OVER_H, P_SQUARED_OVER_H }
 

Public Member Functions

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

Detailed Description

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

Definition at line 761 of file gridfunc.hpp.

Member Enumeration Documentation

◆ JumpScalingType

Enumerator
CONSTANT 
ONE_OVER_H 
P_SQUARED_OVER_H 

Definition at line 764 of file gridfunc.hpp.

Constructor & Destructor Documentation

◆ JumpScaling()

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

Definition at line 774 of file gridfunc.hpp.

Member Function Documentation

◆ Eval()

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

Definition at line 776 of file gridfunc.hpp.


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