PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
meshGenerator.h
Go to the documentation of this file.
1/*
2 * -------------------------------------------
3 * Copyright (c) 2021 - 2026 Prashant K. Jha
4 * -------------------------------------------
5 * PeriDEM https://github.com/prashjha/PeriDEM
6 *
7 * Distributed under the Boost Software License, Version 1.0. (See accompanying
8 * file LICENSE)
9 */
10
11#ifndef MESH_GENERATOR_H
12#define MESH_GENERATOR_H
13
14#include <memory>
15#include <string>
16
17namespace geom {
18class GeomObject;
19}
20namespace inp {
21struct MeshDeck;
22struct ModelDeck;
23}
24namespace mesh {
25class Mesh;
26}
27
28namespace mesh_gen {
29
36void generateBuiltinParticleMeshGmsh(const std::shared_ptr<geom::GeomObject> &geomObj, double h,
37 const std::string &filenameStem, bool vtk_out,
38 bool write_mesh_file, mesh::Mesh *out_mesh,
39 const inp::MeshDeck *meshDeck, const inp::ModelDeck *modelDeck);
40
41} // namespace mesh_gen
42
43#endif // MESH_GENERATOR_H
A class for mesh data.
Definition mesh.h:53
Collection of methods and database related to input.
Definition pairForce.h:20
void generateBuiltinParticleMeshGmsh(const std::shared_ptr< geom::GeomObject > &geomObj, double h, const std::string &filenameStem, bool vtk_out, bool write_mesh_file, mesh::Mesh *out_mesh, const inp::MeshDeck *meshDeck, const inp::ModelDeck *modelDeck)
In-process Gmsh mesh from geom::GeomObject (after createGeomObject on deck / Particle data).
Collection of methods and data related to finite element and mesh.
Definition mesh.cpp:28
Structure to read and store mesh related input data.
Definition meshDeck.h:26
Structure to read and store model related input data.
Definition modelDeck.h:25