![]() |
PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
#include "geom/geomObjectsUtil.h"#include "inp/deckIncludes.h"#include "material/materialUtil.h"#include "periDEMModel.h"#include "util/function.h"#include "util/io.h"#include <algorithm>#include <cmath>#include <filesystem>#include <format>#include <fstream>#include <limits>#include <random>#include <stdexcept>#include <string>#include <thread>#include <vector>Go to the source code of this file.
Data Structures | |
| struct | anonymous_namespace{main.cpp}::PackedParticle |
| struct | anonymous_namespace{main.cpp}::PackedBounds |
Namespaces | |
| namespace | anonymous_namespace{main.cpp} |
Functions | |
| std::string | anonymous_namespace{main.cpp}::directoryPathWithTrailingSep (const std::filesystem::path &dir) |
| double | anonymous_namespace{main.cpp}::maxElem (const std::vector< double > &v) |
| bool | anonymous_namespace{main.cpp}::doesParticleIntersect (const PackedParticle &p, const std::vector< PackedParticle > &existing, const std::vector< double > &rect, double padding) |
| std::vector< PackedParticle > | anonymous_namespace{main.cpp}::generateParticleLocations (const std::vector< double > &in_rect, double max_y, double mesh_size, double R, int N_target, double padding, std::mt19937 &gen) |
| PackedBounds | anonymous_namespace{main.cpp}::packedAxisBounds (const std::vector< PackedParticle > &packed) |
| json | anonymous_namespace{main.cpp}::contactPairJson (double R_contact_factor, bool damping_on, bool friction_on, double Kn, double beta_n_eps, double friction_coeff, double Kn_factor, double beta_n_factor) |
| double | anonymous_namespace{main.cpp}::KnFromBulk (double Ka, double Kb, double horizon) |
| json | anonymous_namespace{main.cpp}::buildInputJson (const std::string &output_path_for_deck, const std::filesystem::path &inp_dir, int argc, char *argv[]) |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 491 of file main.cpp.
References anonymous_namespace{main.cpp}::buildInputJson(), util::io::InputParser::cmdOptionExists(), util::io::InputParser::getCmdOption(), util::parallel::getMpiStatus(), util::parallel::getNThreads(), util::parallel::initMpi(), util::parallel::initNThreads(), util::parallel::mpiRank(), util::parallel::mpiSize(), util::io::print(), and PeriDEMModel::run().