libMesh
Functions
femparameters.C File Reference

Go to the source code of this file.

Functions

UniquePtr< FunctionBase< Number > > new_function_base (const std::string &func_type, const std::string &func_value)
 

Function Documentation

UniquePtr<FunctionBase<Number> > new_function_base ( const std::string &  func_type,
const std::string &  func_value 
)

Definition at line 136 of file femparameters.C.

Referenced by new_function_base(), and FEMParameters::read().

138 {
139  if (func_type == "parsed")
141  else if (func_type == "zero")
143  else
144  libmesh_not_implemented();
145 
147 }
ConstFunction that simply returns 0.
Definition: zero_function.h:35
A Function generated (via FParser) by parsing a mathematical expression.
std::unique_ptr< T > UniquePtr
Definition: auto_ptr.h:46