15 #include "../config/config.hpp" 16 #include "../general/globals.hpp" 34 Vertex(
double x,
double y,
double z)
53 {
for (
int i = 0; i <
dim; i++) {
coord[i] =
p[i]; } }
MFEM_DEPRECATED void SetCoords(const double *p)
(DEPRECATED) Set the coordinates of the Vertex.
void SetCoords(int dim, const double *p)
Sets vertex location based on given point p.
Vertex(double x, double y, double z)
double p(const Vector &x, double t)
double * operator()() const
Returns pointer to the coordinates of the vertex.
Vertex(double x, double y)