libMesh
Loading...
Searching...
No Matches
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}
virtual System & add_system(std::string_view system_type, std::string_view name)
Add the system of type system_type named name to the systems array.

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}
NumberVectorValue Gradient
OStreamProxy out

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.