Template Struct HE_Vertex#

Struct Documentation#

template<typename PropertyVertices>
struct HE_Vertex#

Structure that contains all the vertex in the mesh, as well basic information for each one.

Template Parameters:

Property

Public Members

real3 r#

position of the vertex in a 3D space

int id#

unique id

bool boundary#

if true, vertex is on boundary

int coordination#

number of neighbours this vertex has

inth3 cellId#

cellId that belongs for neighbours list

real3 normal#

vertex normal is the weighted sum of the face normals that belongs

int _hedge#

HANDLE INDEX OF: one of the half-edges emanating from the vertex.

int type#

Vertex/Edge/Face Type.

real3 v#

Velocity.

real3 accel#

Vertex acceleration.

real3 forceC#

Vertex conservative force.

real3 forceD#

Vertex dissipative force.

real3 forceE#

Vertex External force.

real energy#

Vertex energy.

real mass#

Vertex mass.

inth3 ip#

Periodic box image flags (to enable unwrapping of particle coordinates)

PropertyVertices _property#