AbstractChasteRegion< SPACE_DIM > Class Template Reference

#include <AbstractChasteRegion.hpp>

Inherited by ChasteCuboid< SPACE_DIM >, ChasteEllipsoid< SPACE_DIM >, and ChasteNodesList< SPACE_DIM >.

List of all members.

Public Member Functions

 AbstractChasteRegion ()
virtual void Destroy ()
virtual ~AbstractChasteRegion ()
virtual bool DoesContain (const ChastePoint< SPACE_DIM > &rPointToCheck) const =0

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

template<unsigned SPACE_DIM>
class AbstractChasteRegion< SPACE_DIM >

Abstract base class for Chaste regions.

Definition at line 46 of file AbstractChasteRegion.hpp.


Constructor & Destructor Documentation

template<unsigned SPACE_DIM>
AbstractChasteRegion< SPACE_DIM >::AbstractChasteRegion (  )  [inline]

Constructor

Definition at line 59 of file AbstractChasteRegion.hpp.

template<unsigned SPACE_DIM>
virtual AbstractChasteRegion< SPACE_DIM >::~AbstractChasteRegion (  )  [inline, virtual]

Virtual functions, so virtual destructor.

Definition at line 73 of file AbstractChasteRegion.hpp.


Member Function Documentation

template<unsigned SPACE_DIM>
virtual void AbstractChasteRegion< SPACE_DIM >::Destroy (  )  [inline, virtual]
Todo:
Proper memory management Cleans any data which the concrete class may have created (archiving)

Definition at line 66 of file AbstractChasteRegion.hpp.

template<unsigned SPACE_DIM>
virtual bool AbstractChasteRegion< SPACE_DIM >::DoesContain ( const ChastePoint< SPACE_DIM > &  rPointToCheck  )  const [pure virtual]

Checks whether the Chaste point is contained in the region. implemented in the concrete classes

Parameters:
rPointToCheck Point to be checked to be contained in the region
Returns:
true if the point is contained, false otherwise

Implemented in ChasteCuboid< SPACE_DIM >, ChasteEllipsoid< SPACE_DIM >, and ChasteNodesList< SPACE_DIM >.

Referenced by ElectrodesStimulusFactory< DIM >::ComputeElectrodeTotalFlux().

template<unsigned SPACE_DIM>
template<class Archive >
void AbstractChasteRegion< SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the member variables.

Parameters:
archive 
version 

Reimplemented in ChasteCuboid< SPACE_DIM >, ChasteEllipsoid< SPACE_DIM >, and ChasteNodesList< SPACE_DIM >.

Definition at line 50 of file AbstractChasteRegion.hpp.


Friends And Related Function Documentation

template<unsigned SPACE_DIM>
friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented in ChasteCuboid< SPACE_DIM >, ChasteEllipsoid< SPACE_DIM >, and ChasteNodesList< SPACE_DIM >.

Definition at line 42 of file AbstractChasteRegion.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 22 13:00:49 2011 for Chaste by  doxygen 1.6.3