HeartRegionCode Class Reference

#include <HeartRegionCodes.hpp>

Collaboration diagram for HeartRegionCode:

Collaboration graph
[legend]

List of all members.

Static Public Attributes

static const unsigned TISSUE = 0u
static const unsigned BATH = 1u

Private Member Functions

 HeartRegionCode ()
 HeartRegionCode (const HeartRegionCode &)
HeartRegionCodeoperator= (const HeartRegionCode &)


Detailed Description

Codes that can be used to annotate regions of a cardiac mesh.

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.


Constructor & Destructor Documentation

HeartRegionCode::HeartRegionCode (  )  [private]

No instances of this class should be created.


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on Wed Mar 18 12:52:32 2009 for Chaste by  doxygen 1.5.5