PlaneBoundaryCondition< DIM > Class Template Reference

#include <PlaneBoundaryCondition.hpp>

Inherits AbstractCellPopulationBoundaryCondition< DIM >.

Collaboration diagram for PlaneBoundaryCondition< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PlaneBoundaryCondition (AbstractCellPopulation< DIM > *pCellPopulation, c_vector< double, DIM > point, c_vector< double, DIM > normal)
const c_vector< double, DIM > & rGetPointOnPlane () const
const c_vector< double, DIM > & rGetNormalToPlane () const
void SetUseJiggledNodesOnPlane (bool useJiggledNodesOnPlane)
bool GetUseJiggledNodesOnPlane ()
void ImposeBoundaryCondition (const std::map< Node< DIM > *, c_vector< double, DIM > > &rOldLocations)
bool VerifyBoundaryCondition ()
void OutputCellPopulationBoundaryConditionParameters (out_stream &rParamsFile)

Private Member Functions

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

Private Attributes

c_vector< double, DIM > mPointOnPlane
c_vector< double, DIM > mNormalToPlane
bool mUseJiggledNodesOnPlane

Friends

class boost::serialization::access

Detailed Description

template<unsigned DIM>
class PlaneBoundaryCondition< DIM >

A plane cell population boundary condition class, which stops nodes moving through a specified plane in the domain. Although the name of this class suggests it is specific to 3D, it is actually also implemented for 1D and 2D, for which it is really a 'point' and 'line' boundary condition respectively.

Definition at line 52 of file PlaneBoundaryCondition.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
PlaneBoundaryCondition< DIM >::PlaneBoundaryCondition ( AbstractCellPopulation< DIM > *  pCellPopulation,
c_vector< double, DIM >  point,
c_vector< double, DIM >  normal 
) [inline]

Constructor.

Parameters:
pCellPopulation pointer to the cell population
point a point on the boundary plane
normal the outward-facing unit normal vector to the boundary plane

Definition at line 42 of file PlaneBoundaryCondition.cpp.

References PlaneBoundaryCondition< DIM >::mNormalToPlane.


Member Function Documentation

template<unsigned DIM>
bool PlaneBoundaryCondition< DIM >::GetUseJiggledNodesOnPlane (  )  [inline]
template<unsigned DIM>
void PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition ( const std::map< Node< DIM > *, c_vector< double, DIM > > &  rOldLocations  )  [inline]
template<unsigned DIM>
void PlaneBoundaryCondition< DIM >::OutputCellPopulationBoundaryConditionParameters ( out_stream &  rParamsFile  )  [inline, virtual]

Overridden OutputCellPopulationBoundaryConditionParameters() method. Output cell population boundary condition parameters to file.

Parameters:
rParamsFile the file stream to which the parameters are output

Implements AbstractCellPopulationBoundaryCondition< DIM >.

Definition at line 191 of file PlaneBoundaryCondition.cpp.

References PlaneBoundaryCondition< DIM >::mNormalToPlane, PlaneBoundaryCondition< DIM >::mPointOnPlane, and PlaneBoundaryCondition< DIM >::mUseJiggledNodesOnPlane.

template<unsigned DIM>
const c_vector< double, DIM > & PlaneBoundaryCondition< DIM >::rGetNormalToPlane (  )  const [inline]
template<unsigned DIM>
const c_vector< double, DIM > & PlaneBoundaryCondition< DIM >::rGetPointOnPlane (  )  const [inline]
template<unsigned DIM>
template<class Archive >
void PlaneBoundaryCondition< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Serialize the object and its member variables.

Parameters:
archive the archive
version the current version of this class

Reimplemented from AbstractCellPopulationBoundaryCondition< DIM >.

Definition at line 81 of file PlaneBoundaryCondition.hpp.

References PlaneBoundaryCondition< DIM >::mUseJiggledNodesOnPlane.

template<unsigned DIM>
void PlaneBoundaryCondition< DIM >::SetUseJiggledNodesOnPlane ( bool  useJiggledNodesOnPlane  )  [inline]

Set method for mUseJiggledNodesOnPlane

Parameters:
useJiggledNodesOnPlane whether to jiggle the nodes on the surface of the plane, can help stop overcrowding on plane.

Definition at line 67 of file PlaneBoundaryCondition.cpp.

References PlaneBoundaryCondition< DIM >::mUseJiggledNodesOnPlane.

template<unsigned DIM>
bool PlaneBoundaryCondition< DIM >::VerifyBoundaryCondition (  )  [inline, virtual]

Friends And Related Function Documentation

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

Needed for serialization.

Reimplemented from AbstractCellPopulationBoundaryCondition< DIM >.

Definition at line 73 of file PlaneBoundaryCondition.hpp.


Member Data Documentation

template<unsigned DIM>
c_vector<double, DIM> PlaneBoundaryCondition< DIM >::mNormalToPlane [private]
template<unsigned DIM>
c_vector<double, DIM> PlaneBoundaryCondition< DIM >::mPointOnPlane [private]
template<unsigned DIM>
bool PlaneBoundaryCondition< DIM >::mUseJiggledNodesOnPlane [private]

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

Generated by  doxygen 1.6.2