OGS
|
Implementation of the Mesh class.
Definition in file Mesh.cpp.
#include "Mesh.h"
#include <memory>
#include <range/v3/algorithm/contains.hpp>
#include <range/v3/numeric.hpp>
#include <range/v3/range/conversion.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/indirect.hpp>
#include <range/v3/view/map.hpp>
#include <unordered_map>
#include <utility>
#include "BaseLib/RunTime.h"
#include "Elements/Element.h"
#include "Elements/Hex.h"
#include "Elements/Prism.h"
#include "Elements/Pyramid.h"
#include "Elements/Quad.h"
#include "Elements/Tet.h"
#include "Elements/Tri.h"
#include "Utils/DuplicateMeshComponents.h"
#include "Utils/getMeshElementsForMaterialIDs.h"
Go to the source code of this file.
Namespaces | |
namespace | MeshLib |
Functions | |
std::vector< std::vector< Element const * > > | MeshLib::findElementsConnectedToNodes (Mesh const &mesh) |
std::pair< double, double > | MeshLib::minMaxEdgeLength (std::vector< Element * > const &elements) |
Returns the minimum and maximum edge length for given elements. | |
PropertyVector< int > const * | MeshLib::materialIDs (Mesh const &mesh) |
PropertyVector< int > * | MeshLib::materialIDs (Mesh &mesh) |
PropertyVector< std::size_t > const * | MeshLib::bulkNodeIDs (Mesh const &mesh) |
PropertyVector< std::size_t > const * | MeshLib::bulkElementIDs (Mesh const &mesh) |
std::vector< std::vector< Node * > > | MeshLib::calculateNodesConnectedByElements (Mesh const &mesh) |
bool | MeshLib::isBaseNode (Node const &node, std::vector< Element const * > const &elements_connected_to_node) |
Mesh & | MeshLib::findMeshByName (std::vector< std::unique_ptr< Mesh > > const &meshes, std::string_view const name) |
Variables | |
static std::size_t | global_mesh_counter = 0 |
Mesh counter used to uniquely identify meshes by id. | |