53 {
for (
int i = 0; i <
dim; i++) {
coord[i] =
p[i]; } }
MFEM_DEPRECATED void SetCoords(const real_t *p)
(DEPRECATED) Set the coordinates of the Vertex.
Vertex(real_t x, real_t y, real_t z)
real_t * operator()() const
Returns pointer to the coordinates of the vertex.
void SetCoords(int dim, const real_t *p)
Sets vertex location based on given point p.
Vertex(real_t x, real_t y)
real_t p(const Vector &x, real_t t)