PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
geomObjectsUtil.h File Reference
#include "geomObjects.h"
Include dependency graph for geomObjectsUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  util::geometry::GeomData
 Input data for geometrical objects. More...
 
struct  util::geometry::BoxPartition
 Defines simple rectangle domain. More...
 

Namespaces

namespace  util
 Collection of methods useful in simulation.
 
namespace  util::geometry
 Provides geometrical methods such as point inside rectangle.
 

Functions

const std::vector< std::string > & util::geometry::getAcceptableGeometries ()
 Returns list of acceptable geometries for PeriDEM simulation.
 
std::vector< size_t > util::geometry::getNumParamsRequired (std::string geom_type)
 Get num params required for creation of object.
 
bool util::geometry::checkParamForGeometry (size_t n, std::string geom_type)
 Check parameter data for validity.
 
bool util::geometry::isNumberOfParamForGeometryValid (size_t n, std::string geom_type)
 Ascertain if number of parameters are correct for the given geometry.
 
bool util::geometry::checkParamForComplexGeometry (size_t n, std::string geom_type, std::vector< std::string > vec_type)
 Check parameter data for validity.
 
bool util::geometry::isNumberOfParamForComplexGeometryValid (size_t n, std::string geom_type, std::vector< std::string > vec_type)
 Ascertain if number of parameters are correct for the given geometry.
 
void util::geometry::createGeomObjectOld (const std::string &type, const std::vector< double > &params, const std::vector< std::string > &vec_type, const std::vector< std::string > &vec_flag, std::shared_ptr< util::geometry::GeomObject > &obj, const size_t &dim, bool perform_check=true)
 Create geometrical object from the given data.
 
void util::geometry::createGeomObject (const std::string &geom_type, const std::vector< double > &params, const std::vector< std::string > &vec_type, const std::vector< std::string > &vec_flag, std::shared_ptr< util::geometry::GeomObject > &obj, const size_t &dim, bool perform_check=true)
 
void util::geometry::createGeomObject (GeomData &geomData, const size_t &dim, bool perform_check=true)
 

Variables

const std::vector< std::string > util::geometry::acceptable_geometries
 List of acceptable geometries for particles in PeriDEM.