#include <HeartRegionCodes.hpp>
Static Public Attributes | |
static const unsigned | TISSUE = 0u |
static const unsigned | BATH = 1u |
Private Member Functions | |
HeartRegionCode () | |
HeartRegionCode (const HeartRegionCode &) | |
HeartRegionCode & | operator= (const HeartRegionCode &) |
See Node::GetRegion, Node::SetRegion, AbstractElement::GetRegion, AbstractElement::SetRegion.
Note: these constants are set explicitly to be of type unsigned, so as to match the above methods. Hence why we use a class instead of an enum - you can't (until C++0x) specify the underlying type of an enum.
Definition at line 40 of file HeartRegionCodes.hpp.
HeartRegionCode::HeartRegionCode | ( | ) | [private] |
No instances of this class should be created.
const unsigned HeartRegionCode::TISSUE = 0u [static] |
This value is also the default region if none is specified (see Node.cpp and AbstractElement.cpp).
Definition at line 44 of file HeartRegionCodes.hpp.
Referenced by BidomainProblem< DIM >::AnalyseMeshForBath(), and BidomainWithBathRhsMatrixAssembler< DIM >::ComputeMatrixTerm().