GRINS-0.8.0
List of all members | Public Member Functions
GRINS::ParsedNeumannBC< FEShape > Class Template Reference

#include <neumann_bc_parsed.h>

Inheritance diagram for GRINS::ParsedNeumannBC< FEShape >:
Inheritance graph
[legend]
Collaboration diagram for GRINS::ParsedNeumannBC< FEShape >:
Collaboration graph
[legend]

Public Member Functions

 ParsedNeumannBC (const std::string &expression, VariableIndex var)
 
virtual ~ParsedNeumannBC ()
 
- Public Member Functions inherited from GRINS::NeumannBCFunctionBase< libMesh::FunctionBase< FEShape >, FEShape >
 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 &param_variable, const GetPot &input, const std::string &param_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 &param_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 &param_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 &param_name, libMesh::ParameterMultiAccessor< libMesh::Number > &param_pointer) const
 Each subclass will register its copy of an independent. 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...
 
- Protected Member Functions inherited from GRINS::NeumannBCFunctionBase< libMesh::FunctionBase< FEShape >, FEShape >
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 inherited from GRINS::NeumannBCFunctionBase< libMesh::FunctionBase< FEShape >, FEShape >
std::vector< VariableIndex_vars
 Variable indices for the variables whose Neumann contribution we're computing. More...
 
libMesh::UniquePtr< libMesh::FunctionBase< FEShape > > _func
 Function object for the actual Neumann flux. More...
 

Detailed Description

template<typename FEShape>
class GRINS::ParsedNeumannBC< FEShape >

Definition at line 41 of file neumann_bc_parsed.h.

Constructor & Destructor Documentation

template<typename FEShape >
GRINS::ParsedNeumannBC< FEShape >::ParsedNeumannBC ( const std::string &  expression,
VariableIndex  var 
)
inline

Definition at line 44 of file neumann_bc_parsed.h.

References GRINS::NeumannBCFunctionBase< libMesh::FunctionBase< FEShape >, FEShape >::_func.

46  : NeumannBCFunctionBase<libMesh::FunctionBase<FEShape>,FEShape>( var )
47  {
48  this->_func.reset( new libMesh::ParsedFunction<FEShape>(expression) );
49  }
libMesh::UniquePtr< libMesh::FunctionBase< FEShape > > _func
Function object for the actual Neumann flux.
template<typename FEShape >
virtual GRINS::ParsedNeumannBC< FEShape >::~ParsedNeumannBC ( )
inlinevirtual

Definition at line 51 of file neumann_bc_parsed.h.

51 {};

The documentation for this class was generated from the following file:

Generated on Tue Dec 19 2017 12:47:31 for GRINS-0.8.0 by  doxygen 1.8.9.1