26 #ifndef GRINS_SCALAR_ODE_H
27 #define GRINS_SCALAR_ODE_H
30 #include "grins_config.h"
36 #include "libmesh/fem_system.h"
37 #include "libmesh/getpot.h"
54 ScalarODE(
const std::string& physics_name,
const GetPot& input );
102 libMesh::AutoPtr<libMesh::FEMFunctionBase<libMesh::Number> >
123 #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.
std::string _scalar_ode_var_name
Physics abstract base class. Defines API for physics to be added to MultiphysicsSystem.
std::string mass_residual_function_string
virtual void read_input_options(const GetPot &input)
Read options from GetPot input file.
virtual void init_context(AssemblyContext &context)
Prepare the context for evaluations.
std::string time_deriv_function_string
std::string constraint_function_string
virtual void nonlocal_mass_residual(bool compute_jacobian, AssemblyContext &context, CachedValues &cache)
Mass matrix part(s) for scalar variables.
virtual void nonlocal_constraint(bool compute_jacobian, AssemblyContext &context, CachedValues &cache)
Constraint part(s) of physics for scalar variables.
libMesh::AutoPtr< libMesh::FEMFunctionBase< libMesh::Number > > mass_residual_function
libMesh::AutoPtr< libMesh::FEMFunctionBase< libMesh::Number > > constraint_function
virtual void set_time_evolving_vars(libMesh::FEMSystem *system)
Sets scalar variable(s) to be time-evolving.
virtual void init_variables(libMesh::FEMSystem *system)
Initialization of variables.
libMesh::AutoPtr< libMesh::FEMFunctionBase< libMesh::Number > > time_deriv_function
virtual void nonlocal_time_derivative(bool compute_jacobian, AssemblyContext &context, CachedValues &cache)
Time dependent part(s) of physics for scalar variables.
VariableIndex scalar_ode_var() const
VariableIndex _scalar_ode_var