#include <FunctionalBoundaryCondition.hpp>
Public Member Functions | |
FunctionalBoundaryCondition (double(*func)(const ChastePoint< SPACE_DIM > &x)) | |
double | GetValue (const ChastePoint< SPACE_DIM > &x) const |
Private Attributes | |
double(* | mFunction )(const ChastePoint< SPACE_DIM > &x) |
Definition at line 39 of file FunctionalBoundaryCondition.hpp.
FunctionalBoundaryCondition< SPACE_DIM >::FunctionalBoundaryCondition | ( | double(*)(const ChastePoint< SPACE_DIM > &x) | func | ) | [inline] |
Typical use: pBoundaryCondition = new FunctionalBoundaryCondition(&function_name);
func | Pointer to a function to be used for evaluating this boundary condition. |
Definition at line 32 of file FunctionalBoundaryCondition.cpp.
double FunctionalBoundaryCondition< SPACE_DIM >::GetValue | ( | const ChastePoint< SPACE_DIM > & | x | ) | const [inline, virtual] |
Get the value of the boundary condition at a given point.
x | The point at which to evaluate the boundary condition. |
Implements AbstractBoundaryCondition< SPACE_DIM >.
Definition at line 38 of file FunctionalBoundaryCondition.cpp.