Class ComputeVertexBendingEnergy#
Defined in File potentialBending.hpp
Inheritance Relationships#
Base Type#
public ComputeForceClass
(Class ComputeForceClass)
Class Documentation#
-
class ComputeVertexBendingEnergy : public ComputeForceClass#
ComputeVertexBendingEnergy Compute the Seung-Nelson Bending Energy/Force.
Public Functions
-
inline ComputeVertexBendingEnergy(SystemClass &system)#
-
inline ~ComputeVertexBendingEnergy()#
-
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#
Use normals that belong to the two traingles that share a vertex and calculate bengind energy as \( E_{bend} = \frac 1 2 k_b \left( \hat{n}_i- \hat{n}_j \right)^2 r \), where \( k_b \) is the bending rigidity, \( r \) is edge length, and \( \hat{n}_i, \hat{n}_j \) are the normal unit vectors of the triangles meeting at the edge. the method used here is the Seung and Nelson bending energy, Seung, H. S. & Nelson, D. R. Defects in flexible membranes with crystalline order. Phys. Rev. A 38, 1005–1018 (1988).
- Parameters:
vertex – id
- Returns:
the bending energy at vertex
-
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 ComputeVertexBendingEnergy(SystemClass &system)#