You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Computing maximum von Mises strain from all particles. - "static" or "dynamic" */
Real getVonMisesStrainMax(std::string strain_measure = "static");
/** Return the max principal strain. */
Real getPrincipalStrainMax();
/** get the Cauchy stress. */
Matd getStressCauchy(size_t particle_i);
/** get the PK2 stress. */
Matd getStressPK2(size_t particle_i);
/** Computing principal_stresses - returns the principal stresses in descending order (starting from the largest) */
Vecd getPrincipalStresses(size_t particle_i);
/** Computing von_Mises_stress - "Cauchy" or "PK2" decided based on the stress_measure_ */
Real getVonMisesStress(size_t particle_i);
/** Computing von Mises stress for all particles. - "Cauchy" or "PK2" decided based on the stress_measure_ */
StdLargeVec<Real> getVonMisesStressVector();
/** Computing maximum von Mises stress from all particles. - "Cauchy" or "PK2" decided based on the stress_measure_ */
Real getVonMisesStressMax();
Real getPrincipalStressMax();
/** Computing displacement. */
Vecd displacement(size_t particle_i);
/** Return the displacement. */
StdLargeVec<Vecd> getDisplacement();
/** get the max displacement. */
Real getMaxDisplacement();
/**< Computing normal vector. */
Vecd normal(size_t particle_i);
/** get the normal vector. */
StdLargeVec<Vecd> getNormal();
/** relevant stress measure */
std::string stress_measure_;
In order to achieve separation between particle class from physical method classes, I am going to clean all particles so that at last only base particles left. For this, I need to clean all functions in particles classes.
In order to achieve separation between particle class from physical method classes, I am going to clean all particles so that at last only base particles left. For this, I need to clean all functions in particles classes.
I agree that they should be free functions, they can be cut out of the ElasticSOlidParticles class
SPHinXsys/src/shared/particles/solid_particles.h
Lines 90 to 131 in ea091de
In order to achieve separation between particle class from physical method classes, I am going to clean all particles so that at last only base particles left. For this, I need to clean all functions in particles classes.
@BenceVirtonomy @FabienPean-Virtonomy Could you help to move these functions out, or I can delete if they are not useful anymore?
The text was updated successfully, but these errors were encountered: