Continuum Membrane 719025a62b1e384a6ff80e2f2a223ef4012153dc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Face Class Reference

A triangular mesh face element used in the membrane model. More...

#include <Face.hpp>

Public Member Functions

 Face ()
 Generate a new Face object with all member variable set to default.
 

Public Attributes

int index = 0
 Index of face that is used in adjacentFaces.
 
int layerIndex = 0
 Default to 0 for single layer membrane model; +1 for upper and -1 for lower layer.
 
bool isBoundary = false
 Face on boundary of the membrane; determined by boundary condition.
 
bool isGhost = false
 Ghost face outside boundary of the membrane; determined by boundary condition.
 
bool isInsertionPatch = false
 True if there is an insertion on this face.
 
std::vector< int > adjacentVertices {0, 0, 0}
 The indices of 3 vertices of the triangle.
 
std::vector< int > oneRingVertices
 AdjacentVertices + the vertices that are 1 edge away from the face.
 
std::vector< int > adjacentFaces
 Faces that are adjacent to this face. There should be 12 or 11 faces.
 
double spontCurvature = 0.0
 Spontaneous curvature of this face.
 
double meanCurvature = 0.0
 Mean curvature of this face.
 
Matrix normVector
 Outward pointing normal vector of this face element.
 
double elementArea = 0.0
 Local area of this face.
 
double elementVolume = 0.0
 Local volume of this face.
 
Energy energyPrev
 Energy of this face in previous iteration.
 
Energy energy
 Current energy of this face.
 

Detailed Description

A triangular mesh face element used in the membrane model.

This class represents a triangular face element in a mesh used in a membrane model. It contains information about the vertices and faces adjacent to this face, as well as other geometric properties like curvature and area.

Constructor & Destructor Documentation

◆ Face()

Face::Face ( )

Generate a new Face object with all member variable set to default.

Member Data Documentation

◆ adjacentFaces

std::vector<int> Face::adjacentFaces

Faces that are adjacent to this face. There should be 12 or 11 faces.

◆ adjacentVertices

std::vector<int> Face::adjacentVertices {0, 0, 0}

The indices of 3 vertices of the triangle.

◆ elementArea

double Face::elementArea = 0.0

Local area of this face.

◆ elementVolume

double Face::elementVolume = 0.0

Local volume of this face.

◆ energy

Energy Face::energy

Current energy of this face.

◆ energyPrev

Energy Face::energyPrev

Energy of this face in previous iteration.

◆ index

int Face::index = 0

Index of face that is used in adjacentFaces.

◆ isBoundary

bool Face::isBoundary = false

Face on boundary of the membrane; determined by boundary condition.

◆ isGhost

bool Face::isGhost = false

Ghost face outside boundary of the membrane; determined by boundary condition.

◆ isInsertionPatch

bool Face::isInsertionPatch = false

True if there is an insertion on this face.

◆ layerIndex

int Face::layerIndex = 0

Default to 0 for single layer membrane model; +1 for upper and -1 for lower layer.

◆ meanCurvature

double Face::meanCurvature = 0.0

Mean curvature of this face.

◆ normVector

Matrix Face::normVector

Outward pointing normal vector of this face element.

◆ oneRingVertices

std::vector<int> Face::oneRingVertices

AdjacentVertices + the vertices that are 1 edge away from the face.

◆ spontCurvature

double Face::spontCurvature = 0.0

Spontaneous curvature of this face.


The documentation for this class was generated from the following file: