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

#include <extrapolator.hpp>

Public Types

enum  XtrapType { ASLAM, BOCHKOV }

Public Member Functions

 Extrapolator ()
void Extrapolate (Coefficient &level_set, const ParGridFunction &input, const double time_period, ParGridFunction &xtrap)
void ComputeLocalErrors (Coefficient &level_set, const ParGridFunction &exact, const ParGridFunction &xtrap, double &err_L1, double &err_L2, double &err_LI)

Public Attributes

enum mfem::Extrapolator::XtrapType xtrap_type = ASLAM
AdvectionOper::AdvectionMode advection_mode = AdvectionOper::HO
int xtrap_degree = 1
bool visualization = false
int vis_steps = 5

Detailed Description

Definition at line 58 of file extrapolator.hpp.

Member Enumeration Documentation

◆ XtrapType


Definition at line 61 of file extrapolator.hpp.

Constructor & Destructor Documentation

◆ Extrapolator()

mfem::Extrapolator::Extrapolator ( )

Definition at line 67 of file extrapolator.hpp.

Member Function Documentation

◆ ComputeLocalErrors()

void mfem::Extrapolator::ComputeLocalErrors ( Coefficient level_set,
const ParGridFunction exact,
const ParGridFunction xtrap,
double &  err_L1,
double &  err_L2,
double &  err_LI 

Definition at line 393 of file extrapolator.cpp.

◆ Extrapolate()

void mfem::Extrapolator::Extrapolate ( Coefficient level_set,
const ParGridFunction input,
const double  time_period,
ParGridFunction xtrap 

Definition at line 165 of file extrapolator.cpp.

Member Data Documentation

◆ advection_mode

AdvectionOper::AdvectionMode mfem::Extrapolator::advection_mode = AdvectionOper::HO

Definition at line 62 of file extrapolator.hpp.

◆ vis_steps

int mfem::Extrapolator::vis_steps = 5

Definition at line 65 of file extrapolator.hpp.

◆ visualization

bool mfem::Extrapolator::visualization = false

Definition at line 64 of file extrapolator.hpp.

◆ xtrap_degree

int mfem::Extrapolator::xtrap_degree = 1

Definition at line 63 of file extrapolator.hpp.

◆ xtrap_type

enum mfem::Extrapolator::XtrapType mfem::Extrapolator::xtrap_type = ASLAM

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