Chaste
Release::3.4
|
#include <Node.hpp>
Classes | |
class | ContainingBoundaryElementIterator |
class | ContainingElementIterator |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
void | CommonConstructor (unsigned index, bool isBoundaryNode) |
void | ConstructNodeAttributes () |
void | CheckForNodeAttributes () const |
Private Attributes | |
unsigned | mIndex |
c_vector< double, SPACE_DIM > | mLocation |
NodeAttributes< SPACE_DIM > * | mpNodeAttributes |
bool | mIsBoundaryNode |
bool | mIsInternal |
bool | mIsDeleted |
std::set< unsigned > | mElementIndices |
std::set< unsigned > | mBoundaryElementIndices |
Friends | |
class | boost::serialization::access |
class | TestNode |
A node in a finite element mesh.
Node< SPACE_DIM >::Node | ( | unsigned | index, |
ChastePoint< SPACE_DIM > | point, | ||
bool | isBoundaryNode = false |
||
) |
There are many ways of creating a node, depending on how you wish to specify its spatial location. Constructor that takes in the node's location as a ChastePoint.
index | the index of the node in the mesh |
point | the location of the node in the mesh |
isBoundaryNode | whether the node is a boundary node (defaults to false) |
Definition at line 56 of file Node.cpp.
References ChastePoint< DIM >::rGetLocation().
Node< SPACE_DIM >::Node | ( | unsigned | index, |
bool | isBoundaryNode = false , |
||
double | v1 = 0 , |
||
double | v2 = 0 , |
||
double | v3 = 0 |
||
) |
Constructor that takes the coordinates of the node's location as separate input arguments.
index | the index of the node in the mesh |
isBoundaryNode | whether the node is a boundary node (defaults to false) |
v1 | the x-coordinate of the node in the mesh (defaults to 0) |
v2 | the y-coordinate of the node in the mesh (defaults to 0) |
v3 | the z-coordinate of the node in the mesh (defaults to 0) |
Node< SPACE_DIM >::Node | ( | unsigned | index, |
double * | location, | ||
bool | isBoundaryNode = false |
||
) |
Constructor that takes in the coordinates of the node's location as an array pointer.
index | the index of the node in the mesh |
isBoundaryNode | whether the node is a boundary node (defaults to false) |
location | address of the x-coordinate of the node in the mesh (other coordinates are assumed to be in contiguous memory) |
void Node< SPACE_DIM >::AddAppliedForceContribution | ( | c_vector< double, SPACE_DIM > & | forceContribution | ) |
Add a contribution to the force applied to this node.
forceContribution | the force vector to add to mAppliedForce |
Definition at line 225 of file Node.cpp.
Referenced by RepulsionForce< DIM >::AddForceContribution(), and BuskeCompressionForce< DIM >::AddForceContribution().
Add an boundary element that contains this node.
index | of the element to add. |
Definition at line 295 of file Node.cpp.
Referenced by BoundaryElement< ELEMENT_DIM, SPACE_DIM >::UpdateNode().
Add an element that contains this node.
index | of the element to add. |
Definition at line 269 of file Node.cpp.
Referenced by QuadraticMeshHelper< DIM >::AddInternalNodesToElements(), PottsElement< DIM >::AddNode(), QuadraticMesh< DIM >::ConstructLinearMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::MutableVertexMesh(), Element< ELEMENT_DIM, SPACE_DIM >::UpdateNode(), MutableElement< ELEMENT_DIM, SPACE_DIM >::UpdateNode(), and VertexMesh< ELEMENT_DIM, SPACE_DIM >::VertexMesh().
Add an attribute to the list of node attributes.
attribute | the value of the attribute to be added |
Definition at line 171 of file Node.cpp.
Referenced by NodesOnlyMesh< SPACE_DIM >::AddMovedNode(), DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader().
|
private |
void Node< SPACE_DIM >::ClearAppliedForce | ( | ) |
|
private |
Construct an empty NodeAttributes container.
|
inline |
Definition at line 513 of file Node.hpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
|
inline |
Definition at line 521 of file Node.hpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
|
inline |
Definition at line 444 of file Node.hpp.
References Node< SPACE_DIM >::mElementIndices.
Referenced by QuadraticMeshHelper< DIM >::AddNodesToBoundaryElements(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::CheckOutwardNormals(), StreeterFibreGenerator< SPACE_DIM >::GetAveragedThicknessLocalNode(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringNodeIndices(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfCell(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update(), and DistanceMapCalculator< ELEMENT_DIM, SPACE_DIM >::WorkOnLocalQueue().
|
inline |
Definition at line 452 of file Node.hpp.
References Node< SPACE_DIM >::mElementIndices.
Referenced by QuadraticMeshHelper< DIM >::AddNodesToBoundaryElements(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::CheckOutwardNormals(), StreeterFibreGenerator< SPACE_DIM >::GetAveragedThicknessLocalNode(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringNodeIndices(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfCell(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update(), and DistanceMapCalculator< ELEMENT_DIM, SPACE_DIM >::WorkOnLocalQueue().
Definition at line 159 of file Node.cpp.
Referenced by RepulsionForce< DIM >::AddForceContribution(), AbstractTwoBodyInteractionForce< ELEMENT_DIM, SPACE_DIM >::AddForceContribution(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), QuadraticMeshHelper< DIM >::AddNodesToBoundaryElements(), NodesOnlyMesh< SPACE_DIM >::AddNodeWithFixedIndex(), BoxCollection< DIM >::CalculateNodePairs(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CalculateRestLengths(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::CheckForSwapsFromShortEdges(), CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode(), DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), NodesOnlyMesh< SPACE_DIM >::ConstructNodesWithoutMesh(), LuoRudySpiralWaveCellFactory::CreateCardiacCellForTissueNode(), HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCardiacCellForTissueNode(), AbstractPurkinjeCellFactory< ELEMENT_DIM, SPACE_DIM >::CreateJunctionFromFile(), AbstractPurkinjeCellFactory< ELEMENT_DIM, SPACE_DIM >::CreatePurkinjeCellForNode(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DeleteElementPriorToReMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideEdge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideElementAlongGivenAxis(), StreeterFibreGenerator< SPACE_DIM >::GetAveragedThicknessLocalNode(), Toroidal2dVertexMesh::GetMeshForVtk(), Cylindrical2dVertexMesh::GetMeshForVtk(), PottsMesh< DIM >::GetNeighbouringElementIndices(), VertexBasedCellPopulation< SPACE_DIM >::GetTetrahedralMeshUsingVertexMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::IdentifySwapType(), AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::IncrementInterpolatedQuantities(), LinearParabolicPdeSystemWithCoupledOdeSystemSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::IncrementInterpolatedQuantities(), LessThanNode< SPACE_DIM >::operator()(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformIntersectionSwap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformProtorosetteResolution(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformRosetteRankDecrease(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformRosetteRankIncrease(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT2Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::SplitEdge(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::SplitLongEdges(), PottsBasedCellPopulation< DIM >::UpdateCellLocations(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::VertexMesh(), and DistanceMapCalculator< ELEMENT_DIM, SPACE_DIM >::WorkOnLocalQueue().
Definition at line 313 of file Node.cpp.
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), and PottsBasedCellPopulation< DIM >::UpdateCellLocations().
ChastePoint< SPACE_DIM > Node< SPACE_DIM >::GetPoint | ( | ) | const |
Definition at line 134 of file Node.cpp.
Referenced by Cylindrical2dNodesOnlyMesh::AddNode(), Toroidal2dVertexMesh::AddNode(), Cylindrical2dVertexMesh::AddNode(), Cylindrical2dMesh::AddNode(), AbstractLinearEllipticPde< ELEMENT_DIM, SPACE_DIM >::ComputeLinearInUCoeffInSourceTermAtNode(), AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeSourceTermAtNode(), AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTermAtNode(), PlaneStimulusCellFactory< CELL, ELEMENT_DIM, SPACE_DIM >::CreateCardiacCellForTissueNode(), BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode(), RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode(), HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCardiacCellForTissueNode(), ExtendedBidomainTissue< SPACE_DIM >::CreateGGapConductivities(), ZeroNetChargeElectrodes< DIM >::CreateStimulusForNode(), ElectrodesStimulusFactory< DIM >::CreateStimulusForNode(), and AbstractBoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::GetDirichletBCValue().
Definition at line 249 of file Node.cpp.
Referenced by NodeBasedCellPopulation< DIM >::AddCell(), RepulsionForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), NodesOnlyMesh< SPACE_DIM >::AddMovedNode(), BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes(), BuskeElasticForce< DIM >::CalculateForceBetweenNodes(), GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::CalculateForceBetweenNodes(), NodeBasedCellPopulation< DIM >::GetNeighbouringNodeIndices(), NodeBasedCellPopulation< DIM >::GetVolumeOfCell(), VolumeDependentAveragedSourcePde< DIM >::SetupSourceTerms(), and NodeBasedCellPopulationWithBuskeUpdate< DIM >::UpdateNodeLocations().
Definition at line 378 of file Node.cpp.
Referenced by AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM >::CreateCardiacCellForNode(), and BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode().
Definition at line 165 of file Node.cpp.
Referenced by BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::AddDirichletBoundaryCondition(), QuadraticMeshHelper< DIM >::AddNodeToBoundaryElement(), BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::AddPeriodicBoundaryCondition(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideEdge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideElementAlongGivenAxis(), VertexBasedCellPopulation< SPACE_DIM >::GetTetrahedralMeshUsingVertexMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::IdentifySwapType(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), and VertexMesh< ELEMENT_DIM, SPACE_DIM >::VertexMesh().
Definition at line 353 of file Node.cpp.
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::CheckForRosettes(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMesh(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt(), and MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformVoidRemoval().
void Node< SPACE_DIM >::MarkAsDeleted | ( | ) |
Mark the node as having been removed from the mesh.
Definition at line 347 of file Node.cpp.
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap().
void Node< SPACE_DIM >::MarkAsInternal | ( | ) |
Mark the node as being internal (not vertex) in a quadratic element.
Definition at line 359 of file Node.cpp.
Referenced by QuadraticMeshHelper< DIM >::AddInternalNodesToElements(), and QuadraticMesh< DIM >::MakeNewInternalNode().
std::set< unsigned > & Node< SPACE_DIM >::rGetContainingElementIndices | ( | ) |
Definition at line 301 of file Node.cpp.
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::CheckForRosettes(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::CheckForSwapsFromShortEdges(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::CheckIsVoronoi(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DeleteElementPriorToReMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideEdge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideElementAlongGivenAxis(), NagaiHondaDifferentialAdhesionForce< DIM >::GetAdhesionParameter(), NagaiHondaForce< DIM >::GetAdhesionParameter(), FarhadifarForce< DIM >::GetLineTensionParameter(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringElementIndices(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfCell(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::HandleHighOrderJunctions(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::IdentifySwapType(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformIntersectionSwap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformProtorosetteResolution(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformRosetteRankDecrease(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformRosetteRankIncrease(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT2Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::SplitEdge(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update(), PottsBasedCellPopulation< DIM >::UpdateCellLocations(), and VertexMesh< ELEMENT_DIM, SPACE_DIM >::VertexMesh().
const c_vector< double, SPACE_DIM > & Node< SPACE_DIM >::rGetLocation | ( | ) | const |
The returned location may not be modified; if you want that functionality use rGetModifiableLocation instead.
Definition at line 140 of file Node.cpp.
Referenced by RepulsionForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), AbstractFeCableIntegralAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM, CAN_ASSEMBLE_VECTOR, CAN_ASSEMBLE_MATRIX, INTERPOLATION_LEVEL >::AssembleOnCableElement(), AbstractFeVolumeIntegralAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM, CAN_ASSEMBLE_VECTOR, CAN_ASSEMBLE_MATRIX, INTERPOLATION_LEVEL >::AssembleOnElement(), BoxCollection< DIM >::CalculateContainingBox(), DistributedBoxCollection< DIM >::CalculateContainingBox(), BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes(), BuskeElasticForce< DIM >::CalculateForceBetweenNodes(), GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::CalculateForceBetweenNodes(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::CheckOutwardNormals(), FineCoarseMeshPair< DIM >::ComputeFineElementsAndWeightsForCoarseNodes(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMesh(), LuoRudySpiralWaveCellFactory::CreateCardiacCellForTissueNode(), Cylindrical2dMesh::Cylindrical2dMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideEdge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideElementAlongGivenAxis(), NodeBasedCellPopulation< DIM >::GetNeighbouringNodeIndices(), NodeBasedCellPopulation< DIM >::GetNodesWithinNeighbourhoodRadius(), VertexBasedCellPopulation< SPACE_DIM >::GetTetrahedralMeshUsingVertexMesh(), NodeBasedCellPopulation< DIM >::GetVolumeOfCell(), CryptSimulationBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::ImposeBoundaryCondition(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformIntersectionSwap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformProtorosetteResolution(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformRosetteRankDecrease(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformVoidRemoval(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::SplitEdge(), NodeBasedCellPopulationWithBuskeUpdate< DIM >::UpdateNodeLocations(), CryptSimulationBoundaryCondition< DIM >::VerifyBoundaryCondition(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::VertexMesh(), and DistanceMapCalculator< ELEMENT_DIM, SPACE_DIM >::WorkOnLocalQueue().
c_vector< double, SPACE_DIM > & Node< SPACE_DIM >::rGetModifiableLocation | ( | ) |
If you modify the returned location, Jacobian and JacobianDeterminant of elements need to be updated.
Don't forget to assign the result of this call to a reference!
Definition at line 152 of file Node.cpp.
Referenced by FineCoarseMeshPair< DIM >::ComputeFineElementsAndWeightsForCoarseNodes(), CryptSimulationBoundaryCondition< DIM >::ImposeBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< ELEMENT_DIM, SPACE_DIM >::ImposeBoundaryCondition(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformProtorosetteResolution(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), and MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformVoidRemoval().
|
inlineprivate |
Archive the member variables.
archive | the archive |
version | the current version of this class |
Definition at line 99 of file Node.hpp.
References Node< SPACE_DIM >::mpNodeAttributes.
Set whether the node is a boundary node.
value | whether the node is a boundary node |
Definition at line 127 of file Node.cpp.
Referenced by QuadraticMeshHelper< DIM >::AddNodeToBoundaryElement(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DeleteElementPriorToReMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), and MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformVoidRemoval().
Set the index of the node in the mesh.
index | the index of the node |
Definition at line 121 of file Node.cpp.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), NodesOnlyMesh< SPACE_DIM >::AddNode(), and MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::AddNode().
Set whether this node is a particle, for cell_based simulations.
isParticle | whether this node is a particle or not. |
Definition at line 241 of file Node.cpp.
Referenced by NodesOnlyMesh< SPACE_DIM >::AddMovedNode().
void Node< SPACE_DIM >::SetPoint | ( | ChastePoint< SPACE_DIM > | point | ) |
Set the node's location.
Note: setting the point in space is dangerous, because the Jacobian and JacobianDeterminant of any corresponding elements need to be updated.
point | the new location of the node |
Definition at line 115 of file Node.cpp.
References ChastePoint< DIM >::rGetLocation().
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideEdge().
Set the radius of the node.
radius | the value to assign to the radius property. Should be >= 0.0 |
Definition at line 257 of file Node.cpp.
Referenced by NodeBasedCellPopulation< DIM >::AddCell(), NodesOnlyMesh< SPACE_DIM >::AddMovedNode(), NodesOnlyMesh< SPACE_DIM >::AddNodeWithFixedIndex(), and NodesOnlyMesh< SPACE_DIM >::ConstructNodesWithoutMesh().
Set the node's region ID.
region | the new region ID |
Definition at line 371 of file Node.cpp.
Referenced by NodesOnlyMesh< SPACE_DIM >::AddMovedNode().
|
friend |
Set of indices of boundary elements containing this node as a vertex.
Definition at line 87 of file Node.hpp.
Referenced by Node< SPACE_DIM >::ContainingBoundaryElementsBegin(), and Node< SPACE_DIM >::ContainingBoundaryElementsEnd().
Set of indices of elements containing this node as a vertex.
Definition at line 84 of file Node.hpp.
Referenced by Node< SPACE_DIM >::ContainingElementsBegin(), and Node< SPACE_DIM >::ContainingElementsEnd().
Whether this node has been deleted, and hence whether its location in the mesh can be re-used (for use in the MutableMesh class).
Whether this node is an internal node (for use in the QuadraticMesh class).
|
private |
A pointer to a NodeAttributes object associated with this node.
Definition at line 69 of file Node.hpp.
Referenced by Node< SPACE_DIM >::serialize().