#ifndef ElasticityEnergy_H #define ElasticityEnergy_H /* Last edited on DATE TIME by USER */ #include typedef struct ElasticityEnergy_data_t { double alpha; /* the two elastic moduli of the material, that*/ double beta; /* express its resistance to changes in volume */ } ElasticityEnergy_data_t; /* The {Elasticity} energy considers that every tetrahedral chip is done of any material like rubber (i.e. elastic) possesing property material uniformes inside of every tetrahedron, but with unequal propiertes between tetrahedra. This module compute the "elastic energy" of a tetrahedral element. See the section 4.2 "Calculo das forcas de elasticidade" in the Msc. Thesis "Animacao Dinamica de Corpos Elasticos" by R.L.W.L for more details. */ Energy_t ElasticityEnergy_new(double alpha, double beta); #endif