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

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

Definition at line 7 of file mysystems.h.

References libMesh::EquationSystems::add_system().

10 {
11  CoupledSystem & system = es.add_system<CoupledSystem> ("CoupledSystem");
12  return system;
13 }
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.
Gradient exact_grad ( const Point ,
const Parameters ,
const std::string &  ,
const std::string &   
)

Definition at line 25 of file mysystems.h.

References libMesh::out.

Referenced by libMesh::ExactSolution::_compute_error().

29 {
30  libMesh::out << "Warning! No exact value function specified! Returning 0." << std::endl;
31 
32  return Gradient(0.);
33 }
NumberVectorValue Gradient
OStreamProxy out
Number exact_value ( const Point ,
const Parameters ,
const std::string &  ,
const std::string &   
)

Definition at line 15 of file mysystems.h.

References libMesh::out.

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