Class ComputeVertexCauchyGreenEnergy#

Inheritance Relationships#

Base Type#

Class Documentation#

class ComputeVertexCauchyGreenEnergy : public ComputeForceClass#

Compute Cauchy-Green stretching energy for a triangle Stretching energy density is calculated as.

\( E=\frac{k}{2}\frac{1}{1+\nu}\left(Tr\left(C^2\right) + \frac{\nu}{1-\nu}\left(Tr C\right)^2\right) \), where \( k \) is the elastic constant, \( \nu \) if the Poisson ratio, and \( C = \frac{1}{2}\left(FQ-I\right) \), with \( F \) being Gram matrix for strained triangle, \( Q \) being the inverse of the Gram matrix for the unstretched triangle and \( I \) is the identity matrix.

Public Functions

inline ComputeVertexCauchyGreenEnergy(SystemClass &system)#
inline ~ComputeVertexCauchyGreenEnergy()#
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>> &region_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>> &region_map)#
inline void set_property(std::map<std::string, std::map<std::string, std::string>> &region_map)
inline void set_property(std::map<std::string, std::string> &region_map)#