35 #ifndef LagrangianEqnBase_H
36 #define LagrangianEqnBase_H
79 template<
class A,
class B>
80 inline void operator()(
A& a,
const B&
b)
89 template<
class A,
class B>
90 inline void operator()(
A& a,
const B&
b)
Non-templated base class for Lagrangian equations.
LagrangianEqnBase(const word &name, const LagrangianSubMesh &mesh)
Construct from components.
word name_
Symbolic name of the equation or equation term.
const LagrangianSubMesh & mesh_
Reference to the mesh.
const LagrangianSubMesh & mesh() const
Return the mesh.
const word & name() const
Return the equation name.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
A class for handling words, derived from string.
static const coefficient B("B", dimless, 18.678)
static const coefficient A("A", dimPressure, 611.21)