PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
meshUtil.h File Reference
#include "util/point.h"
#include "util/matrix.h"
#include "inp/decks/materialDeck.h"
#include <string>
#include <vector>
Include dependency graph for meshUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fe
 Collection of methods and data related to finite element and mesh.
 

Functions

void fe::createUniformMesh (fe::Mesh *mesh_p, size_t dim, std::pair< std::vector< double >, std::vector< double > > box, std::vector< size_t > nGrid)
 Creates uniform mesh for rectangle/cuboid domain.
 
void fe::getCurrentQuadPoints (const fe::Mesh *mesh_p, const std::vector< util::Point > &xRef, const std::vector< util::Point > &u, std::vector< util::Point > &xQuadCur, size_t iNodeStart=0, size_t iQuadStart=0, size_t quadOrder=1)
 Get current location of quadrature points of elements in the mesh. This function expects mesh has element-node connectivity data.
 
void fe::getStrainStress (const fe::Mesh *mesh_p, const std::vector< util::Point > &xRef, const std::vector< util::Point > &u, bool isPlaneStrain, std::vector< util::SymMatrix3 > &strain, std::vector< util::SymMatrix3 > &stress, size_t iNodeStart=0, size_t iStrainStart=0, double nu=0., double lambda=0., double mu=0., bool computeStress=false, size_t quadOrder=1)
 Strain and stress at quadrature points in the mesh.
 
void fe::getMaxShearStressAndLoc (const fe::Mesh *mesh_p, const std::vector< util::Point > &xRef, const std::vector< util::Point > &u, const std::vector< util::SymMatrix3 > &stress, double &maxShearStress, util::Point &maxShearStressLocRef, util::Point &maxShearStressLocCur, size_t iNodeStart=0, size_t iStrainStart=0, size_t quadOrder=1)
 Get location where maximum of specified component of stress occurs in this particle.