#include <Node.hpp>

A node in a finite element mesh.
Definition at line 58 of file Node.hpp.
| Node< SPACE_DIM >::Node | ( | unsigned | index, | |
| ChastePoint< SPACE_DIM > | point, | |||
| bool | isBoundaryNode = false | |||
| ) | [inline] |
There are many ways of creating a node, depending on how you wish to specify its spatial location. Constructor which takes 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 Node< SPACE_DIM >::CommonConstructor(), Node< SPACE_DIM >::mLocation, and ChastePoint< DIM >::rGetLocation().
| Node< SPACE_DIM >::Node | ( | unsigned | index, | |
| std::vector< double > | coords, | |||
| bool | isBoundaryNode = false | |||
| ) | [inline] |
Constructor which takes the node's location as a std::vector.
| index | the index of the node in the mesh | |
| coords | the location of the node in the mesh | |
| isBoundaryNode | whether the node is a boundary node (defaults to false) |
Definition at line 63 of file Node.cpp.
References Node< SPACE_DIM >::CommonConstructor(), and Node< SPACE_DIM >::mLocation.
| Node< SPACE_DIM >::Node | ( | unsigned | index, | |
| c_vector< double, SPACE_DIM > | location, | |||
| bool | isBoundaryNode = false | |||
| ) | [inline] |
Constructor which takes the node's location as a c_vector.
| index | the index of the node in the mesh | |
| location | the location of the node in the mesh | |
| isBoundaryNode | whether the node is a boundary node (defaults to false) |
Definition at line 73 of file Node.cpp.
References Node< SPACE_DIM >::CommonConstructor(), and Node< SPACE_DIM >::mLocation.
| Node< SPACE_DIM >::Node | ( | unsigned | index, | |
| bool | isBoundaryNode = false, |
|||
| double | v1 = 0, |
|||
| double | v2 = 0, |
|||
| double | v3 = 0 | |||
| ) | [inline] |
Constructor which 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) |
Definition at line 80 of file Node.cpp.
References Node< SPACE_DIM >::CommonConstructor(), and Node< SPACE_DIM >::mLocation.
| Node< SPACE_DIM >::Node | ( | unsigned | index, | |
| double * | location, | |||
| bool | isBoundaryNode = false | |||
| ) | [inline] |
Constructor which takes the coordinates of the node's location as 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) |
Definition at line 95 of file Node.cpp.
References Node< SPACE_DIM >::CommonConstructor(), and Node< SPACE_DIM >::mLocation.
Explicit destructor to free memory from mpNodeAttributes
Definition at line 105 of file Node.cpp.
References Node< SPACE_DIM >::mpNodeAttributes.
| void Node< SPACE_DIM >::AddAppliedForceContribution | ( | c_vector< double, SPACE_DIM > & | forceContribution | ) | [inline] |
Add a contribution to the force applied to this node.
| forceContribution | the force vector to add to mAppliedForce |
Definition at line 220 of file Node.cpp.
References Node< SPACE_DIM >::ConstructNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by RepulsionForce< DIM >::AddForceContribution(), DiffusionForce< DIM >::AddForceContribution(), and BuskeCompressionForce< DIM >::AddForceContribution().
Add an boundary element that contains this node.
| index | of the element to add. |
Definition at line 290 of file Node.cpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
Add an element that contains this node.
| index | of the element to add. |
Definition at line 264 of file Node.cpp.
References Node< SPACE_DIM >::mElementIndices.
Referenced by QuadraticMeshHelper< DIM >::AddInternalNodesToElements(), PottsElement< DIM >::AddNode(), QuadraticMesh< DIM >::ConstructLinearMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::MutableVertexMesh(), 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 166 of file Node.cpp.
References Node< SPACE_DIM >::ConstructNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by NodesOnlyMesh< SPACE_DIM >::AddMovedNode(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader().
| void Node< SPACE_DIM >::CheckForNodeAttributes | ( | ) | const [inline, private] |
Check that node attributes have been set up, and throw and exception if not.
Definition at line 324 of file Node.cpp.
References EXCEPTION, and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by Node< SPACE_DIM >::GetRadius(), Node< SPACE_DIM >::IsParticle(), Node< SPACE_DIM >::rGetAppliedForce(), and Node< SPACE_DIM >::rGetNodeAttributes().
| void Node< SPACE_DIM >::ClearAppliedForce | ( | ) | [inline] |
Clear the vector associated with the force.
Definition at line 212 of file Node.cpp.
References Node< SPACE_DIM >::ConstructNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
| void Node< SPACE_DIM >::CommonConstructor | ( | unsigned | index, | |
| bool | isBoundaryNode | |||
| ) | [inline, private] |
Extraction of commonality between the constructors.
| index | the index of the node in the mesh | |
| isBoundaryNode | whether the node is a boundary node |
Definition at line 46 of file Node.cpp.
References Node< SPACE_DIM >::mIndex, Node< SPACE_DIM >::mIsBoundaryNode, Node< SPACE_DIM >::mIsDeleted, Node< SPACE_DIM >::mIsInternal, and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by Node< SPACE_DIM >::Node().
| void Node< SPACE_DIM >::ConstructNodeAttributes | ( | ) | [inline, private] |
Construct an empty NodeAttributes container
Definition at line 333 of file Node.cpp.
References Node< SPACE_DIM >::mpNodeAttributes.
Referenced by Node< SPACE_DIM >::AddAppliedForceContribution(), Node< SPACE_DIM >::AddNodeAttribute(), Node< SPACE_DIM >::ClearAppliedForce(), Node< SPACE_DIM >::SetIsParticle(), Node< SPACE_DIM >::SetRadius(), and Node< SPACE_DIM >::SetRegion().
| ContainingBoundaryElementIterator Node< SPACE_DIM >::ContainingBoundaryElementsBegin | ( | ) | const [inline] |
Definition at line 535 of file Node.hpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
| ContainingBoundaryElementIterator Node< SPACE_DIM >::ContainingBoundaryElementsEnd | ( | ) | const [inline] |
Definition at line 543 of file Node.hpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
| ContainingElementIterator Node< SPACE_DIM >::ContainingElementsBegin | ( | ) | const [inline] |
Definition at line 466 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(), Node< SPACE_DIM >::IsFlagged(), VentilationProblem::SetFluxAtBoundaryNode(), VentilationProblem::SetupIterativeSolver(), VentilationProblem::SolveDirectFromFlux(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update(), and DistanceMapCalculator< ELEMENT_DIM, SPACE_DIM >::WorkOnLocalQueue().
| ContainingElementIterator Node< SPACE_DIM >::ContainingElementsEnd | ( | ) | const [inline] |
Definition at line 474 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(), Node< SPACE_DIM >::IsFlagged(), VentilationProblem::SetupIterativeSolver(), VentilationProblem::SolveDirectFromFlux(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update(), and DistanceMapCalculator< ELEMENT_DIM, SPACE_DIM >::WorkOnLocalQueue().
Definition at line 154 of file Node.cpp.
References Node< SPACE_DIM >::mIndex.
Referenced by RepulsionForce< DIM >::AddForceContribution(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), NodesOnlyMesh< SPACE_DIM >::AddNodeWithFixedIndex(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CalculateRestLengths(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::CheckForSwapsFromShortEdges(), CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode(), NodesOnlyMesh< SPACE_DIM >::ConstructNodesWithoutMesh(), HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCardiacCellForTissueNode(), LuoRudySpiralWaveCellFactory::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(), VentilationProblem::GetAcinus(), StreeterFibreGenerator< SPACE_DIM >::GetAveragedThicknessLocalNode(), Toroidal2dVertexMesh::GetMeshForVtk(), Cylindrical2dVertexMesh::GetMeshForVtk(), PottsMesh< DIM >::GetNeighbouringElementIndices(), VentilationProblem::GetPressureAtBoundaryNode(), VertexBasedCellPopulation< DIM >::GetTetrahedralMeshUsingVertexMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::IdentifySwapType(), LinearParabolicPdeSystemWithCoupledOdeSystemSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::IncrementInterpolatedQuantities(), AbstractCorrectionTermAssembler< ELEM_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 >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT2Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformVoidRemoval(), VentilationProblem::SetPressureAtBoundaryNode(), 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 314 of file Node.cpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
| unsigned Node< SPACE_DIM >::GetNumContainingElements | ( | ) | const [inline] |
Definition at line 308 of file Node.cpp.
References Node< SPACE_DIM >::mElementIndices.
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), and PottsBasedCellPopulation< DIM >::UpdateCellLocations().
Definition at line 182 of file Node.cpp.
References Node< SPACE_DIM >::mpNodeAttributes.
| ChastePoint< SPACE_DIM > Node< SPACE_DIM >::GetPoint | ( | ) | const [inline] |
Definition at line 134 of file Node.cpp.
References Node< SPACE_DIM >::mLocation.
Referenced by Toroidal2dVertexMesh::AddNode(), Cylindrical2dVertexMesh::AddNode(), Cylindrical2dNodesOnlyMesh::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(), HeartConfigRelatedCellFactory< SPACE_DIM >::CreateCardiacCellForTissueNode(), BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode(), RampedQuarterStimulusCellFactory< CELL, DIM >::CreateCardiacCellForTissueNode(), ExtendedBidomainTissue< SPACE_DIM >::CreateGGapConductivities(), ZeroNetChargeElectrodes< DIM >::CreateStimulusForNode(), ElectrodesStimulusFactory< DIM >::CreateStimulusForNode(), and AbstractBoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::GetDirichletBCValue().
Definition at line 244 of file Node.cpp.
References Node< SPACE_DIM >::CheckForNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by NodeBasedCellPopulation< DIM >::AddCell(), RepulsionForce< DIM >::AddForceContribution(), DiffusionForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::CalculateForceBetweenNodes(), BuskeElasticForce< DIM >::CalculateForceBetweenNodes(), BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes(), NodeBasedCellPopulation< DIM >::GetNeighbouringNodeIndices(), NodeBasedCellPopulation< DIM >::GetVolumeOfCell(), VolumeDependentAveragedSourcePde< DIM >::SetupSourceTerms(), NodeBasedCellPopulationWithBuskeUpdate< DIM >::UpdateNodeLocations(), NodeBasedCellPopulationWithParticles< DIM >::WriteVtkResultsToFile(), and NodeBasedCellPopulation< DIM >::WriteVtkResultsToFile().
Definition at line 373 of file Node.cpp.
References Node< SPACE_DIM >::mpNodeAttributes.
Referenced by AbstractCardiacCellFactory< ELEMENT_DIM, SPACE_DIM >::CreateCardiacCellForNode(), and BathCellFactory< DIM, CELLTYPE >::CreateCardiacCellForTissueNode().
Definition at line 198 of file Node.cpp.
References Node< SPACE_DIM >::mpNodeAttributes.
Definition at line 160 of file Node.cpp.
References Node< SPACE_DIM >::mIsBoundaryNode.
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< DIM >::GetTetrahedralMeshUsingVertexMesh(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::IdentifySwapType(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT2Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), VentilationProblem::SetFluxAtBoundaryNode(), VentilationProblem::SetPressureAtBoundaryNode(), VentilationProblem::SetupIterativeSolver(), VentilationProblem::SolveDirectFromFlux(), and VertexMesh< ELEMENT_DIM, SPACE_DIM >::VertexMesh().
Definition at line 348 of file Node.cpp.
References Node< SPACE_DIM >::mIsDeleted.
Referenced by AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMesh(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt().
| bool Node< SPACE_DIM >::IsFlagged | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > & | rMesh | ) | [inline] |
| rMesh | the mesh containing the nodes and elements |
Definition at line 381 of file Node.hpp.
References Node< SPACE_DIM >::ContainingElementsBegin(), Node< SPACE_DIM >::ContainingElementsEnd(), and AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement().
Definition at line 360 of file Node.cpp.
References Node< SPACE_DIM >::mIsInternal.
Definition at line 228 of file Node.cpp.
References Node< SPACE_DIM >::CheckForNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
| void Node< SPACE_DIM >::MarkAsDeleted | ( | ) | [inline] |
Mark the node as having been removed from the mesh.
Definition at line 342 of file Node.cpp.
References Node< SPACE_DIM >::mIsDeleted.
| void Node< SPACE_DIM >::MarkAsInternal | ( | ) | [inline] |
Mark the node as being internal (not vertex) in a quadratic element.
Definition at line 354 of file Node.cpp.
References Node< SPACE_DIM >::mIsInternal.
Referenced by QuadraticMeshHelper< DIM >::AddInternalNodesToElements().
| void Node< SPACE_DIM >::RemoveBoundaryElement | ( | unsigned | index | ) | [inline] |
Remove an boundary element that contains this node.
| index | of the boundary element to be removed. |
Definition at line 280 of file Node.cpp.
References EXCEPTION, and Node< SPACE_DIM >::mBoundaryElementIndices.
Remove an element that contains this node.
| index | of the element to be removed. |
Definition at line 270 of file Node.cpp.
References EXCEPTION, and Node< SPACE_DIM >::mElementIndices.
| c_vector< double, SPACE_DIM > & Node< SPACE_DIM >::rGetAppliedForce | ( | ) | [inline] |
Definition at line 204 of file Node.cpp.
References Node< SPACE_DIM >::CheckForNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
| std::set< unsigned > & Node< SPACE_DIM >::rGetContainingBoundaryElementIndices | ( | ) | [inline] |
Definition at line 302 of file Node.cpp.
References Node< SPACE_DIM >::mBoundaryElementIndices.
| std::set< unsigned > & Node< SPACE_DIM >::rGetContainingElementIndices | ( | ) | [inline] |
Definition at line 296 of file Node.cpp.
References Node< SPACE_DIM >::mElementIndices.
Referenced by 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(), NagaiHondaForce< DIM >::GetAdhesionParameter(), NagaiHondaDifferentialAdhesionForce< DIM >::GetAdhesionParameter(), FarhadifarForce< DIM >::GetLineTensionParameter(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringElementIndices(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfCell(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::IdentifySwapType(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformIntersectionSwap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), 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 [inline] |
The returned location may not be modified; if you want that functionality use rGetModifiableLocation instead.
Definition at line 140 of file Node.cpp.
References Node< SPACE_DIM >::mIsDeleted, and Node< SPACE_DIM >::mLocation.
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(), DistributedBoxCollection< DIM >::CalculateContainingBox(), BoxCollection< DIM >::CalculateContainingBox(), GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::CalculateForceBetweenNodes(), BuskeElasticForce< DIM >::CalculateForceBetweenNodes(), BuskeAdhesiveForce< 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(), VertexBasedCellPopulation< DIM >::GetTetrahedralMeshUsingVertexMesh(), NodeBasedCellPopulation< DIM >::GetVolumeOfCell(), CryptSimulationBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformIntersectionSwap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), 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 | ( | ) | [inline] |
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 147 of file Node.cpp.
References Node< SPACE_DIM >::mIsDeleted, and Node< SPACE_DIM >::mLocation.
Referenced by FineCoarseMeshPair< DIM >::ComputeFineElementsAndWeightsForCoarseNodes(), CryptSimulationBoundaryCondition< DIM >::ImposeBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformNodeMerge(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT1Swap(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT3Swap(), and MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformVoidRemoval().
| std::vector< double > & Node< SPACE_DIM >::rGetNodeAttributes | ( | ) | [inline] |
Definition at line 174 of file Node.cpp.
References Node< SPACE_DIM >::CheckForNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
| void Node< SPACE_DIM >::serialize | ( | Archive & | archive, | |
| const unsigned int | version | |||
| ) | [inline, private] |
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.
| void Node< SPACE_DIM >::SetAsBoundaryNode | ( | bool | value = true |
) | [inline] |
Set whether this node is a boundary node.
| value | whether the node is a boundary node |
Definition at line 127 of file Node.cpp.
References Node< SPACE_DIM >::mIsBoundaryNode.
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 this node in the mesh.
| index | the index of the node |
Definition at line 121 of file Node.cpp.
References Node< SPACE_DIM >::mIndex.
Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), NodesOnlyMesh< SPACE_DIM >::AddNode(), and MutableMesh< 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 236 of file Node.cpp.
References Node< SPACE_DIM >::ConstructNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by NodesOnlyMesh< SPACE_DIM >::AddMovedNode().
| void Node< SPACE_DIM >::SetPoint | ( | ChastePoint< SPACE_DIM > | point | ) | [inline] |
Set the node's location.
Note: setting the point in space is dangerous. Jacobian and JacobianDeterminant of element need to be updated.
| point | the new location of the node |
Definition at line 115 of file Node.cpp.
References Node< SPACE_DIM >::mLocation, and 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 252 of file Node.cpp.
References Node< SPACE_DIM >::ConstructNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
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 366 of file Node.cpp.
References Node< SPACE_DIM >::ConstructNodeAttributes(), and Node< SPACE_DIM >::mpNodeAttributes.
Referenced by NodesOnlyMesh< SPACE_DIM >::AddMovedNode().
friend class boost::serialization::access [friend] |
std::set<unsigned> Node< SPACE_DIM >::mBoundaryElementIndices [private] |
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 >::AddBoundaryElement(), Node< SPACE_DIM >::ContainingBoundaryElementsBegin(), Node< SPACE_DIM >::ContainingBoundaryElementsEnd(), Node< SPACE_DIM >::GetNumBoundaryElements(), Node< SPACE_DIM >::RemoveBoundaryElement(), and Node< SPACE_DIM >::rGetContainingBoundaryElementIndices().
std::set<unsigned> Node< SPACE_DIM >::mElementIndices [private] |
Set of indices of elements containing this node as a vertex.
Definition at line 84 of file Node.hpp.
Referenced by Node< SPACE_DIM >::AddElement(), Node< SPACE_DIM >::ContainingElementsBegin(), Node< SPACE_DIM >::ContainingElementsEnd(), Node< SPACE_DIM >::GetNumContainingElements(), Node< SPACE_DIM >::RemoveElement(), and Node< SPACE_DIM >::rGetContainingElementIndices().
The index of this node within the mesh.
Definition at line 63 of file Node.hpp.
Referenced by Node< SPACE_DIM >::CommonConstructor(), Node< SPACE_DIM >::GetIndex(), and Node< SPACE_DIM >::SetIndex().
bool Node< SPACE_DIM >::mIsBoundaryNode [private] |
Whether this node is a boundary node.
Definition at line 72 of file Node.hpp.
Referenced by Node< SPACE_DIM >::CommonConstructor(), Node< SPACE_DIM >::IsBoundaryNode(), and Node< SPACE_DIM >::SetAsBoundaryNode().
bool Node< SPACE_DIM >::mIsDeleted [private] |
Whether this node has been deleted, and hence whether its location in the mesh can be re-used. (For use in MutableMesh)
Definition at line 81 of file Node.hpp.
Referenced by Node< SPACE_DIM >::CommonConstructor(), Node< SPACE_DIM >::IsDeleted(), Node< SPACE_DIM >::MarkAsDeleted(), Node< SPACE_DIM >::rGetLocation(), and Node< SPACE_DIM >::rGetModifiableLocation().
bool Node< SPACE_DIM >::mIsInternal [private] |
Whether this node is an internal node. (For use with QuadraticMesh)
Definition at line 75 of file Node.hpp.
Referenced by Node< SPACE_DIM >::CommonConstructor(), Node< SPACE_DIM >::IsInternal(), and Node< SPACE_DIM >::MarkAsInternal().
The location of this node within the mesh.
Definition at line 66 of file Node.hpp.
Referenced by Node< SPACE_DIM >::GetPoint(), Node< SPACE_DIM >::Node(), Node< SPACE_DIM >::rGetLocation(), Node< SPACE_DIM >::rGetModifiableLocation(), and Node< SPACE_DIM >::SetPoint().
NodeAttributes<SPACE_DIM>* Node< SPACE_DIM >::mpNodeAttributes [private] |
A pointer to a NodeAttributes class asscoiated with this node.
Definition at line 69 of file Node.hpp.
Referenced by Node< SPACE_DIM >::AddAppliedForceContribution(), Node< SPACE_DIM >::AddNodeAttribute(), Node< SPACE_DIM >::CheckForNodeAttributes(), Node< SPACE_DIM >::ClearAppliedForce(), Node< SPACE_DIM >::CommonConstructor(), Node< SPACE_DIM >::ConstructNodeAttributes(), Node< SPACE_DIM >::GetNumNodeAttributes(), Node< SPACE_DIM >::GetRadius(), Node< SPACE_DIM >::GetRegion(), Node< SPACE_DIM >::HasNodeAttributes(), Node< SPACE_DIM >::IsParticle(), Node< SPACE_DIM >::rGetAppliedForce(), Node< SPACE_DIM >::rGetNodeAttributes(), Node< SPACE_DIM >::serialize(), Node< SPACE_DIM >::SetIsParticle(), Node< SPACE_DIM >::SetRadius(), Node< SPACE_DIM >::SetRegion(), and Node< SPACE_DIM >::~Node().
1.6.2