![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <FunctionalBoundaryCondition.hpp>
Public Member Functions | |
FunctionalBoundaryCondition (double(*func)(const ChastePoint< SPACE_DIM > &rX)) | |
double | GetValue (const ChastePoint< SPACE_DIM > &rX) const |
![]() | |
AbstractBoundaryCondition () | |
virtual | ~AbstractBoundaryCondition () |
Private Attributes | |
double(* | mFunction )(const ChastePoint< SPACE_DIM > &rX) |
A boundary condition that takes a function pointer in its constructor, and evaluates the function to determine the value of the condition at a given point.
Definition at line 47 of file FunctionalBoundaryCondition.hpp.
FunctionalBoundaryCondition< SPACE_DIM >::FunctionalBoundaryCondition | ( | double(*)(const ChastePoint< SPACE_DIM > &rX) | func | ) |
Typical use: pBoundaryCondition = new FunctionalBoundaryCondition(&function_name);
func | Pointer to a function to be used for evaluating this boundary condition |
Definition at line 39 of file FunctionalBoundaryCondition.cpp.
|
virtual |
rX | a point in space |
Implements AbstractBoundaryCondition< SPACE_DIM >.
Definition at line 45 of file FunctionalBoundaryCondition.cpp.
|
private |
The function pointer used to determine the value of the boundary condition at a given point.
rX | a point in space |
Definition at line 56 of file FunctionalBoundaryCondition.hpp.