Class ComputeVertexConstantAreaTriangleEnergy#
Defined in File potentialConstantAreaTriangle.hpp
Inheritance Relationships#
Base Type#
public ComputeForceClass
(Class ComputeForceClass)
Class Documentation#
-
class ComputeVertexConstantAreaTriangleEnergy : public ComputeForceClass
ComputeVertexConstantAreaTriangleEnergy Compute Vertex Cauchy-Green Streaching Energy For a given triangle t compute contribution from the surface tension caused by change in the surface area.
\( E = \frac{1}{2} \sigma \left(A - A_0\right)^2 \)
where \( A \) is current area of the triangle, \( A_0 \) is the native (given) triangle area, and \( \sigma \) if the surface tension.
Public Functions
-
inline ComputeVertexConstantAreaTriangleEnergy(SystemClass &system)
-
inline ~ComputeVertexConstantAreaTriangleEnergy()
-
inline virtual void set_default_properties(void) override
Set property.
-
inline virtual void set_property(std::map<std::string, std::map<std::string, std::string>> ®ion_map) override
-
inline virtual std::map<std::string, std::string> get_info(void) override
Get the type object.
- Returns:
std::string
-
virtual void compute_energy(void) override
compute energy for the actual configuration
- Parameters:
void –
- Returns:
void
-
virtual void compute(void) override
compute force for the actual configuration
- Parameters:
void –
- Returns:
void
-
virtual real compute_edge_energy(int) override
compute the energy in a given edge
- Parameters:
edge –
- Returns:
real
-
virtual real compute_vertex_energy(int) override
compute the energy in a vertex edge
- Parameters:
face –
- Returns:
real
-
virtual void compute_stress(void) override
compute force for the actual configuration
- Parameters:
void –
- Returns:
void
-
virtual void compute_atomic_stress(void) override
compute force for the actual configuration
- Parameters:
void –
- Returns:
void
-
inline void set_property(std::map<std::string, std::map<std::pair<std::string, std::string>, std::string>> ®ion_map)
-
inline void set_property(std::map<std::string, std::map<std::string, std::string>> ®ion_map)
-
inline void set_property(std::map<std::string, std::string> ®ion_map)
-
inline ComputeVertexConstantAreaTriangleEnergy(SystemClass &system)