31 #ifndef MUMECH_MELEMENT_H 32 #define MUMECH_MELEMENT_H 100 void save_error (
double val,
int pid,
int lc);
106 void give_strain (
double *strain,
int pid,
int lc)
const;
107 void give_stress (
double *stress,
int pid,
int lc)
const;
117 #endif // end of MUMECH_MELEMENT_H
mElement(long i, const Mesh *m)
Constructor.
file of various types and symbolic constant definitions
double ** energy
energy = INTEGRAL Strain * Stress *dVolume
double *** strain
computed fields - strain in TVRN_THEORETICAL_FEEP notation
long * nodes
Element nodes.
double ** eqstress
equivalent stress = SQRT(3*J2)
double *** displc
computed fields - displacement
void give_stress(double *stress, int pid, int lc) const
void give_strain(double *strain, int pid, int lc) const
long region
-2 - not set, -1 - matrix, <0;nIncl) id of inclusion
double *** stress
computed fields - stress in TVRN_THEORETICAL_FEEP notation
double give_energy(int pid, int lc)
void compute_centroids(void)
long id
identification number
void giveReducedStiffMatrix(double *C, int pid) const
double ** error
docasne, energeticka chyba reseni v porovnani s FEM resenim = (eps_mM - eps_FEM)
double volume
Volume/Area.
long give_type(void) const
void save_error(double val, int pid, int lc)
Class Mesh contains and handles all mesh data.
long nnodes
Number of nodes at elements.
virtual ~mElement()
Destructor.
Class mElement contains and handles all mesh element data.
void allocate_fields(int pid)
double centroids[3]
Centroid coordinates.