OGS
Mesh.cpp File Reference

Detailed Description

Implementation of the Mesh class.

Author
Karsten Rink
Date
2012-05-02

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"
Include dependency graph for Mesh.cpp:

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)
 
MeshMeshLib::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.
 

Variable Documentation

◆ global_mesh_counter

std::size_t global_mesh_counter = 0
static

Mesh counter used to uniquely identify meshes by id.

Definition at line 39 of file Mesh.cpp.