26 #ifndef GRINS_SCALAR_ODE_H
27 #define GRINS_SCALAR_ODE_H
30 #include "grins_config.h"
37 #include "libmesh/fem_system.h"
38 #include "libmesh/getpot.h"
55 ScalarODE(
const std::string& physics_name,
const GetPot& input );
86 libMesh::UniquePtr<libMesh::FEMFunctionBase<libMesh::Number> >
106 #endif // GRINS_SCALAR_ODE_H
Physics class for arbitrary scalar-valued ODEs.
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > mass_residual_function
virtual void nonlocal_mass_residual(bool compute_jacobian, AssemblyContext &context)
Mass matrix part(s) for scalar variables.
VariableIndex var() const
void read_input_options(const GetPot &input)
Read options from GetPot input file.
virtual void init_context(AssemblyContext &context)
Prepare the context for evaluations.
virtual void nonlocal_time_derivative(bool compute_jacobian, AssemblyContext &context)
Time dependent part(s) of physics for scalar variables.
virtual void set_time_evolving_vars(libMesh::FEMSystem *system)
Sets scalar variable(s) to be time-evolving.
virtual void nonlocal_constraint(bool compute_jacobian, AssemblyContext &context)
Constraint part(s) of physics for scalar variables.
Variables with a single SCALAR component.
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > time_deriv_function
VariableIndex scalar_ode_var() const
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > constraint_function