![]() |
PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
#include "inp/deckIncludes.h"#include "material/materialUtil.h"#include "periDEMModel.h"#include "util/io.h"#include "util/parallelUtil.h"#include "util/point.h"#include <cmath>#include <cstdlib>#include <filesystem>#include <format>#include <fstream>#include <memory>#include <stdexcept>#include <string>#include <thread>#include <vector>Go to the source code of this file.
Data Structures | |
| struct | anonymous_namespace{main.cpp}::CrackMetrics |
| struct | anonymous_namespace{main.cpp}::LawResult |
Namespaces | |
| namespace | anonymous_namespace{main.cpp} |
Functions | |
| std::string | anonymous_namespace{main.cpp}::directoryPathWithTrailingSep (const std::filesystem::path &dir) |
| json | anonymous_namespace{main.cpp}::buildInputJson (const std::string &output_path, const std::filesystem::path &mesh_file, double L, double mesh_size, double horizon, double final_time, size_t num_steps, const std::string &self_contact) |
| size_t | anonymous_namespace{main.cpp}::applyPrecrack (PeriDEMModel &dem, double x_crack) |
| void | anonymous_namespace{main.cpp}::applyRigidOpenClose (PeriDEMModel &dem, double x_crack, double u_right) |
| CrackMetrics | anonymous_namespace{main.cpp}::measure (PeriDEMModel &dem, double x_crack, double band) |
| LawResult | anonymous_namespace{main.cpp}::runLaw (const std::string &self_contact, const std::filesystem::path &run_dir, double L, double mesh_size, double horizon, unsigned n_threads) |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 249 of file main.cpp.
References util::io::InputParser::cmdOptionExists(), util::io::InputParser::getCmdOption(), util::parallel::initMpi(), util::parallel::initNThreads(), util::io::print(), and anonymous_namespace{main.cpp}::runLaw().