GRINS-0.8.0
|
#include <neumann_bc_function_base.h>
Public Member Functions | |
NeumannBCFunctionBase (VariableIndex var) | |
Constructor for function with only one variable. More... | |
NeumannBCFunctionBase (const std::vector< VariableIndex > &vars) | |
Constructor for function with several variables. More... | |
virtual | ~NeumannBCFunctionBase () |
virtual bool | eval_flux (bool compute_jacobian, AssemblyContext &context, libMesh::Real sign, bool is_axisymmetric) |
Public Member Functions inherited from GRINS::NeumannBCAbstract | |
NeumannBCAbstract () | |
virtual | ~NeumannBCAbstract () |
Public Member Functions inherited from GRINS::ParameterUser | |
ParameterUser (const std::string &user_name) | |
virtual | ~ParameterUser () |
virtual void | set_parameter (libMesh::Number ¶m_variable, const GetPot &input, const std::string ¶m_name, libMesh::Number param_default) |
Each subclass can simultaneously read a parameter value from. More... | |
virtual void | set_parameter (libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | set_parameter (libMesh::ParsedFEMFunction< libMesh::Number > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | move_parameter (const libMesh::Number &old_parameter, libMesh::Number &new_parameter) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &old_func, libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFEMFunction< libMesh::Number > &old_func, libMesh::ParsedFEMFunction< libMesh::Number > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | register_parameter (const std::string ¶m_name, libMesh::ParameterMultiAccessor< libMesh::Number > ¶m_pointer) const |
Each subclass will register its copy of an independent. More... | |
Protected Member Functions | |
FEShape | eval_func (AssemblyContext &context, const libMesh::Point &point, libMesh::Real time, unsigned int component, libMesh::FEMFunctionBase< FEShape > &func) |
Helper function to dispatch to FEMFunctionBase API. More... | |
FEShape | eval_func (AssemblyContext &, const libMesh::Point &point, libMesh::Real time, unsigned int component, libMesh::FunctionBase< FEShape > &func) |
Helper function to dispatch to FunctionBase API. More... | |
Protected Attributes | |
std::vector< VariableIndex > | _vars |
Variable indices for the variables whose Neumann contribution we're computing. More... | |
libMesh::UniquePtr< FunctionType > | _func |
Function object for the actual Neumann flux. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from GRINS::ParameterUser | |
static std::string | zero_vector_function = std::string("{0}") |
A parseable function string with LIBMESH_DIM components, all 0. More... | |
Definition at line 42 of file neumann_bc_function_base.h.
|
inline |
Constructor for function with only one variable.
Definition at line 47 of file neumann_bc_function_base.h.
|
inline |
Constructor for function with several variables.
This intended for FunctionTypes that are Composite so we can treat "group" variables, e.g. Displacement, as the same time using a composite function.
Definition at line 56 of file neumann_bc_function_base.h.
|
inlinevirtual |
Definition at line 61 of file neumann_bc_function_base.h.
|
virtual |
Implements GRINS::NeumannBCAbstract.
Definition at line 41 of file neumann_bc_function_base.C.
|
inlineprotected |
Helper function to dispatch to FEMFunctionBase API.
Definition at line 71 of file neumann_bc_function_base.h.
|
inlineprotected |
Helper function to dispatch to FunctionBase API.
Definition at line 79 of file neumann_bc_function_base.h.
|
protected |
Function object for the actual Neumann flux.
Subclasses should initialize this function appropriately at construction time.
Definition at line 95 of file neumann_bc_function_base.h.
|
protected |
Variable indices for the variables whose Neumann contribution we're computing.
We're assuming all _vars use the same FunctionType object. This allows us to use Composite type functions and treat "group" variables, like Displacement, at the same time.
Definition at line 90 of file neumann_bc_function_base.h.