![]() |
Chaste
Release::3.4
|
#include <ChasteCuboid.hpp>
Inheritance diagram for ChasteCuboid< SPACE_DIM >:
Collaboration diagram for ChasteCuboid< SPACE_DIM >:Public Member Functions | |
| ChasteCuboid (ChastePoint< SPACE_DIM > &rLowerPoint, ChastePoint< SPACE_DIM > &rUpperPoint) | |
| bool | DoesContain (const ChastePoint< SPACE_DIM > &rPointToCheck) const |
| const ChastePoint< SPACE_DIM > & | rGetUpperCorner () const |
| const ChastePoint< SPACE_DIM > & | rGetLowerCorner () const |
| double | GetWidth (unsigned rDimension) const |
| unsigned | GetLongestAxis () const |
Public Member Functions inherited from AbstractChasteRegion< SPACE_DIM > | |
| AbstractChasteRegion () | |
| virtual void | Destroy () |
| virtual | ~AbstractChasteRegion () |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
| ChastePoint< SPACE_DIM > | mLowerCorner |
| ChastePoint< SPACE_DIM > | mUpperCorner |
Friends | |
| class | boost::serialization::access |
This class defines a 3D cuboid and provides a method to check if a given point is contained in the volume.
Definition at line 51 of file ChasteCuboid.hpp.
| ChasteCuboid< SPACE_DIM >::ChasteCuboid | ( | ChastePoint< SPACE_DIM > & | rLowerPoint, |
| ChastePoint< SPACE_DIM > & | rUpperPoint | ||
| ) |
The cuboid is defined by any of its two space-diagonal opposite corners.
| rLowerPoint | Lower vertex of the cuboid. |
| rUpperPoint | Upper vertex of the cuboid. |
Definition at line 40 of file ChasteCuboid.cpp.
References EXCEPTION, ChasteCuboid< SPACE_DIM >::mLowerCorner, and ChasteCuboid< SPACE_DIM >::mUpperCorner.
|
virtual |
| rPointToCheck | Point to be checked to be contained in the cuboid. |
Implements AbstractChasteRegion< SPACE_DIM >.
Definition at line 54 of file ChasteCuboid.cpp.
| unsigned ChasteCuboid< SPACE_DIM >::GetLongestAxis | ( | ) | const |
Definition at line 87 of file ChasteCuboid.cpp.
| double ChasteCuboid< SPACE_DIM >::GetWidth | ( | unsigned | rDimension | ) | const |
| rDimension | dimension |
Definition at line 80 of file ChasteCuboid.cpp.
Referenced by CellBasedPdeHandler< DIM >::OpenResultsFiles(), FineCoarseMeshPair< DIM >::SetUpBoxes(), and CellBasedPdeHandler< DIM >::UseCoarsePdeMesh().
| const ChastePoint< SPACE_DIM > & ChasteCuboid< SPACE_DIM >::rGetLowerCorner | ( | ) | const |
Definition at line 74 of file ChasteCuboid.cpp.
Referenced by DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::CalculateBoundingBox(), CellBasedPdeHandlerOnCuboid< DIM >::ConstructBoundaryConditionsContainer(), Electrodes< DIM >::Electrodes(), NodePartitioner< ELEMENT_DIM, SPACE_DIM >::GeometricPartitioning(), NodesOnlyMesh< SPACE_DIM >::SetUpBoxCollection(), FineCoarseMeshPair< DIM >::SetUpBoxes(), Cylindrical2dMesh::UpdateTopAndBottom(), and CellBasedPdeHandler< DIM >::UseCoarsePdeMesh().
| const ChastePoint< SPACE_DIM > & ChasteCuboid< SPACE_DIM >::rGetUpperCorner | ( | ) | const |
Definition at line 68 of file ChasteCuboid.cpp.
Referenced by DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::CalculateBoundingBox(), CellBasedPdeHandlerOnCuboid< DIM >::ConstructBoundaryConditionsContainer(), Electrodes< DIM >::Electrodes(), NodePartitioner< ELEMENT_DIM, SPACE_DIM >::GeometricPartitioning(), NodesOnlyMesh< SPACE_DIM >::SetUpBoxCollection(), FineCoarseMeshPair< DIM >::SetUpBoxes(), Cylindrical2dMesh::UpdateTopAndBottom(), and CellBasedPdeHandler< DIM >::UseCoarsePdeMesh().
|
inlineprivate |
Archive the member variables.
| archive | |
| version |
Definition at line 62 of file ChasteCuboid.hpp.
|
friend |
Needed for serialization.
Definition at line 54 of file ChasteCuboid.hpp.
|
private |
Lower vertex of the cuboid.
Definition at line 69 of file ChasteCuboid.hpp.
Referenced by ChasteCuboid< SPACE_DIM >::ChasteCuboid().
|
private |
Upper vertex of the cuboid. The space-diagonal opposite corner of mLowerCorner.
Definition at line 72 of file ChasteCuboid.hpp.
Referenced by ChasteCuboid< SPACE_DIM >::ChasteCuboid().