This file defines the Energy class with scaffold extensions.
The Force class defines corresponding force terms type. Note that all the forces are gsl matrices wit...
This class includes components in calculating energy on vertrices including membrane bending energy,...
Definition Energy.hpp:26
A triangular mesh face element used in the membrane model.
Definition Face.hpp:29
double meanCurvature
Mean curvature of this face.
Definition Face.hpp:40
double elementArea
Local area of this face.
Definition Face.hpp:42
Energy energy
Current energy of this face.
Definition Face.hpp:45
int index
Index of face that is used in adjacentFaces.
Definition Face.hpp:31
int layerIndex
Default to 0 for single layer membrane model; +1 for upper and -1 for lower layer.
Definition Face.hpp:32
double elementVolume
Local volume of this face.
Definition Face.hpp:43
std::vector< int > adjacentVertices
The indices of 3 vertices of the triangle.
Definition Face.hpp:36
bool isGhost
Ghost face outside boundary of the membrane; determined by boundary condition.
Definition Face.hpp:34
bool isInsertionPatch
True if there is an insertion on this face.
Definition Face.hpp:35
std::vector< int > oneRingVertices
AdjacentVertices + the vertices that are 1 edge away from the face.
Definition Face.hpp:37
Energy energyPrev
Energy of this face in previous iteration.
Definition Face.hpp:44
Matrix normVector
Outward pointing normal vector of this face element.
Definition Face.hpp:41
std::vector< int > adjacentFaces
Faces that are adjacent to this face. There should be 12 or 11 faces.
Definition Face.hpp:38
double spontCurvature
Spontaneous curvature of this face.
Definition Face.hpp:39
bool isBoundary
Face on boundary of the membrane; determined by boundary condition.
Definition Face.hpp:33
Face()
Generate a new Face object with all member variable set to default.
Matrix used in continuum membrane model.
Definition Linear_algebra.hpp:65