MFEM v4.7.0
Finite element discretization library
|
Data type for vertex. More...
#include <vertex.hpp>
Public Member Functions | |
Vertex ()=default | |
Vertex (real_t *xx, int dim) | |
Vertex (real_t x, real_t y) | |
Vertex (real_t x, real_t y, real_t z) | |
real_t * | operator() () const |
Returns pointer to the coordinates of the vertex. | |
real_t & | operator() (int i) |
Returns the i'th coordinate of the vertex. | |
const real_t & | operator() (int i) const |
Returns the i'th coordinate of the vertex. | |
MFEM_DEPRECATED void | SetCoords (const real_t *p) |
(DEPRECATED) Set the coordinates of the Vertex. | |
void | SetCoords (int dim, const real_t *p) |
Sets vertex location based on given point p. | |
Protected Attributes | |
real_t | coord [3] |
Data type for vertex.
Definition at line 22 of file vertex.hpp.
|
default |
mfem::Vertex::Vertex | ( | real_t * | xx, |
int | dim ) |
Definition at line 18 of file vertex.cpp.
Definition at line 33 of file vertex.hpp.
Definition at line 34 of file vertex.hpp.
|
inline |
Returns pointer to the coordinates of the vertex.
Definition at line 38 of file vertex.hpp.
|
inline |
Returns the i'th coordinate of the vertex.
Definition at line 41 of file vertex.hpp.
|
inline |
Returns the i'th coordinate of the vertex.
Definition at line 44 of file vertex.hpp.
|
inline |
(DEPRECATED) Set the coordinates of the Vertex.
Definition at line 48 of file vertex.hpp.
|
inline |
Sets vertex location based on given point p.
Definition at line 52 of file vertex.hpp.
|
protected |
Definition at line 25 of file vertex.hpp.