MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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 23 of file example_utils.hpp.

◆ example_fun()

double example_fun ( const mfem::Vector & x)
inline

Definition at line 65 of file example_utils.hpp.

◆ make_fun()

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

Definition at line 54 of file example_utils.hpp.

◆ plot()

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

Definition at line 87 of file example_utils.hpp.

◆ vector_fun()

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

Definition at line 80 of file example_utils.hpp.