@@ -66,9 +66,9 @@ class ElementBlock
6666 // ! \param[in] elmId External element ID (generate if negative)
6767 size_t addLine (size_t i1, const Vec3& X2, int elmId = -1 );
6868
69- // ! \brief Assigns an external id to an element.
69+ // ! \brief Assigns an external ID to an element.
7070 void setElmId (size_t i, int iel) { MINEX[i-1 ] = iel; }
71- // ! \brief Returns the external id of an element.
71+ // ! \brief Returns the external ID of an element.
7272 int getElmId (size_t i) const { return MINEX[i-1 ]; }
7373 // ! \brief Returns the internal index of an element in case of mixed types.
7474 size_t getElmIndex (size_t i) const { return i < elmIdx.size () ? elmIdx[i]:i; }
@@ -108,8 +108,8 @@ class ElementBlock
108108
109109 // ! \brief Returns the coordinates of the center of the given element.
110110 utl::Point getCenter (size_t i) const ;
111- // ! \brief Removes the given element .
112- void removeElement (size_t i );
111+ // ! \brief Removes all elements with the specified external ID .
112+ void removeElement (int iel );
113113
114114protected:
115115 using Prm3 = std::array<Real,3 >; // !< Convenience type
@@ -136,7 +136,7 @@ class ElementBlock
136136class PlaneBlock : public ElementBlock
137137{
138138public:
139- // ! \brief Constructor defining a plane from three points.
139+ // ! \brief The constructor defines a plane from three points.
140140 // ! \param[in] X0 First corner
141141 // ! \param[in] X1 Second corner
142142 // ! \param[in] X2 Third corner
@@ -153,7 +153,7 @@ class PlaneBlock : public ElementBlock
153153class CubeBlock : public ElementBlock
154154{
155155public:
156- // ! \brief The constructor defines a cube centred at specified point.
156+ // ! \brief The constructor defines a cube centered at the specified point.
157157 // ! \param[in] X0 Center of the cube
158158 // ! \param[in] dX Length of each cube edge
159159 CubeBlock (const Vec3& X0, double dX);
@@ -169,7 +169,7 @@ class CubeBlock : public ElementBlock
169169class SphereBlock : public ElementBlock
170170{
171171public:
172- // ! \brief The constructor defines a sphere centred at specified point.
172+ // ! \brief The constructor defines a sphere centered at the specified point.
173173 // ! \param[in] X0 Center of the sphere
174174 // ! \param[in] R Sphere diameter
175175 // ! \param[in] nTheta Number of elements around equator
@@ -181,13 +181,13 @@ class SphereBlock : public ElementBlock
181181/* !
182182 \brief Class for cylinder geometries.
183183 \details This class is used to create cylinder shapes in the model,
184- for visualization of rigid contect objects, etc.
184+ for visualization of rigid contact objects, etc.
185185*/
186186
187187class CylinderBlock : public ElementBlock
188188{
189189public:
190- // ! \brief The constructor defines a sphere centred at specified point .
190+ // ! \brief The constructor defines a cylinder along an axis through 2 points .
191191 // ! \param[in] X0 First end point
192192 // ! \param[in] X1 Second end point
193193 // ! \param[in] R Cylinder diameter
0 commit comments