MFEM  v4.5.2
Finite element discretization library
Functions
example_utils.hpp File Reference

Go to the source code of this file.

Functions

void check_options (mfem::OptionsParser &args)
 
void make_fun (mfem::FiniteElementSpace &fe, mfem::Coefficient &c, mfem::GridFunction &f)
 
double example_fun (const mfem::Vector &x)
 
void vector_fun (const mfem::Vector &x, mfem::Vector &f)
 
void plot (mfem::Mesh &mesh, mfem::GridFunction &x, std::string title)
 

Function Documentation

◆ check_options()

void check_options ( mfem::OptionsParser args)
inline

Definition at line 12 of file example_utils.hpp.

◆ example_fun()

double example_fun ( const mfem::Vector x)
inline

Definition at line 54 of file example_utils.hpp.

◆ make_fun()

void make_fun ( mfem::FiniteElementSpace fe,
mfem::Coefficient c,
mfem::GridFunction f 
)
inline

Definition at line 43 of file example_utils.hpp.

◆ plot()

void plot ( mfem::Mesh mesh,
mfem::GridFunction x,
std::string  title 
)
inline

Definition at line 76 of file example_utils.hpp.

◆ vector_fun()

void vector_fun ( const mfem::Vector x,
mfem::Vector f 
)

Definition at line 69 of file example_utils.hpp.