GRINS-0.8.0
List of all members | Public Member Functions | Protected Member Functions
GRINS::ParsedFunctionFactoryHelper< FunctionType > Class Template Reference

#include <parsed_function_factory_helper.h>

Inheritance diagram for GRINS::ParsedFunctionFactoryHelper< FunctionType >:
Inheritance graph
[legend]

Public Member Functions

 ParsedFunctionFactoryHelper ()
 
 ~ParsedFunctionFactoryHelper ()
 

Protected Member Functions

libMesh::UniquePtr< FunctionType > build_parsed_func (const MultiphysicsSystem &system, const std::string &expression)
 
libMesh::UniquePtr< FunctionType > build_composite_func ()
 
template<>
libMesh::UniquePtr< libMesh::FunctionBase< libMesh::Number > > build_parsed_func (const MultiphysicsSystem &, const std::string &expression)
 
template<>
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > build_parsed_func (const MultiphysicsSystem &system, const std::string &expression)
 
template<>
libMesh::UniquePtr< libMesh::FunctionBase< libMesh::Number > > build_composite_func ()
 
template<>
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > build_composite_func ()
 

Detailed Description

template<typename FunctionType>
class GRINS::ParsedFunctionFactoryHelper< FunctionType >

Definition at line 37 of file parsed_function_factory_helper.h.

Constructor & Destructor Documentation

template<typename FunctionType>
GRINS::ParsedFunctionFactoryHelper< FunctionType >::ParsedFunctionFactoryHelper ( )
inline

Definition at line 41 of file parsed_function_factory_helper.h.

41 {}
template<typename FunctionType>
GRINS::ParsedFunctionFactoryHelper< FunctionType >::~ParsedFunctionFactoryHelper ( )
inline

Definition at line 43 of file parsed_function_factory_helper.h.

43 {};

Member Function Documentation

template<typename FunctionType>
libMesh::UniquePtr<FunctionType> GRINS::ParsedFunctionFactoryHelper< FunctionType >::build_composite_func ( )
protected
template<>
libMesh::UniquePtr< libMesh::FunctionBase< libMesh::Number > > GRINS::ParsedFunctionFactoryHelper< libMesh::FunctionBase< libMesh::Number > >::build_composite_func ( )
protected

Definition at line 54 of file parsed_function_factory_helper.C.

55  {
56  return libMesh::UniquePtr<libMesh::FunctionBase<libMesh::Number> >( new libMesh::CompositeFunction<libMesh::Number> );
57  }
template<>
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > GRINS::ParsedFunctionFactoryHelper< libMesh::FEMFunctionBase< libMesh::Number > >::build_composite_func ( )
protected

Definition at line 61 of file parsed_function_factory_helper.C.

62  {
63  return libMesh::UniquePtr<libMesh::FEMFunctionBase<libMesh::Number> >( new libMesh::CompositeFEMFunction<libMesh::Number> );
64  }
template<>
libMesh::UniquePtr< libMesh::FunctionBase< libMesh::Number > > GRINS::ParsedFunctionFactoryHelper< libMesh::FunctionBase< libMesh::Number > >::build_parsed_func ( const MultiphysicsSystem ,
const std::string &  expression 
)
protected

Definition at line 39 of file parsed_function_factory_helper.C.

40  {
41  return libMesh::UniquePtr<libMesh::FunctionBase<libMesh::Number> >( new libMesh::ParsedFunction<libMesh::Number>(expression) );
42  }
template<>
libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Number > > GRINS::ParsedFunctionFactoryHelper< libMesh::FEMFunctionBase< libMesh::Number > >::build_parsed_func ( const MultiphysicsSystem system,
const std::string &  expression 
)
protected

Definition at line 47 of file parsed_function_factory_helper.C.

48  {
49  return libMesh::UniquePtr<libMesh::FEMFunctionBase<libMesh::Number> >( new libMesh::ParsedFEMFunction<libMesh::Number>(system,expression) );
50  }
template<typename FunctionType>
libMesh::UniquePtr<FunctionType> GRINS::ParsedFunctionFactoryHelper< FunctionType >::build_parsed_func ( const MultiphysicsSystem system,
const std::string &  expression 
)
protected

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