libMesh
Functions
mysystems.h File Reference

Go to the source code of this file.

Functions

FEMSystembuild_system (EquationSystems &es, GetPot &, FEMParameters &)
 
Number exact_value (const Point &, const Parameters &, const std::string &, const std::string &)
 
Gradient exact_grad (const Point &, const Parameters &, const std::string &, const std::string &)
 

Function Documentation

◆ build_system()

FEMSystem& build_system ( EquationSystems es,
GetPot &  ,
FEMParameters  
)

Definition at line 7 of file mysystems.h.

10 {
11  CoupledSystem & system = es.add_system<CoupledSystem> ("CoupledSystem");
12  return system;
13 }

References libMesh::EquationSystems::add_system().

◆ exact_grad()

Gradient exact_grad ( const Point ,
const Parameters ,
const std::string &  ,
const std::string &   
)

Definition at line 25 of file mysystems.h.

29 {
30  libMesh::out << "Warning! No exact value function specified! Returning 0." << std::endl;
31 
32  return Gradient(0.);
33 }

References libMesh::out.

Referenced by libMesh::ExactSolution::_compute_error(), and main().

◆ exact_value()

Number exact_value ( const Point ,
const Parameters ,
const std::string &  ,
const std::string &   
)

Definition at line 15 of file mysystems.h.

19 {
20  libMesh::out << "Warning! No exact value function specified! Returning 0." << std::endl;
21 
22  return Number(0.);
23 }

References libMesh::out.

libMesh::Number
Real Number
Definition: libmesh_common.h:195
libMesh::EquationSystems::add_system
virtual System & add_system(const std::string &system_type, const std::string &name)
Add the system of type system_type named name to the systems array.
Definition: equation_systems.C:345
libMesh::Gradient
NumberVectorValue Gradient
Definition: exact_solution.h:58
libMesh::out
OStreamProxy out
CoupledSystem
Definition: coupled_system.h:34