#include <ConstBoundaryCondition.hpp>
Inherits AbstractBoundaryCondition< SPACE_DIM >.
Public Member Functions | |
ConstBoundaryCondition (const double value) | |
double | GetValue (const ChastePoint< SPACE_DIM > &rX) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mValue |
Friends | |
class | boost::serialization::access |
Boundary condition that takes a constant value wherever it is applied.
Definition at line 40 of file ConstBoundaryCondition.hpp.
ConstBoundaryCondition< SPACE_DIM >::ConstBoundaryCondition | ( | const double | value | ) | [inline] |
Create a new boundary condition object.
value | The value of this boundary condition at all points where it is applied. |
Definition at line 32 of file ConstBoundaryCondition.cpp.
double ConstBoundaryCondition< SPACE_DIM >::GetValue | ( | const ChastePoint< SPACE_DIM > & | rX | ) | const [inline, virtual] |
rX | The point at which this boundary condition is to be evaluated. |
Implements AbstractBoundaryCondition< SPACE_DIM >.
Definition at line 38 of file ConstBoundaryCondition.cpp.
References ConstBoundaryCondition< SPACE_DIM >::mValue.
Referenced by BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::AddNeumannBoundaryCondition().
void ConstBoundaryCondition< SPACE_DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the member variables.
archive | ||
version |
Reimplemented from AbstractBoundaryCondition< SPACE_DIM >.
Definition at line 53 of file ConstBoundaryCondition.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractBoundaryCondition< SPACE_DIM >.
Definition at line 45 of file ConstBoundaryCondition.hpp.
double ConstBoundaryCondition< SPACE_DIM >::mValue [private] |
The constant value of the boundary condition.
Definition at line 59 of file ConstBoundaryCondition.hpp.
Referenced by ConstBoundaryCondition< SPACE_DIM >::GetValue().