OGS
Mesh.h File Reference

Detailed Description

Definition of the Mesh class.

Author
Karsten Rink
Date
2012-05-02

Definition in file Mesh.h.

#include <cstdlib>
#include <memory>
#include <range/v3/view/transform.hpp>
#include <string>
#include <vector>
#include "BaseLib/Algorithm.h"
#include "BaseLib/Error.h"
#include "MathLib/Point3d.h"
#include "MeshEnums.h"
#include "Properties.h"
Include dependency graph for Mesh.h:

Go to the source code of this file.

Classes

class  MeshLib::Mesh
 

Namespaces

namespace  ApplicationUtils
 
namespace  MeshLib
 
namespace  MeshLib::views
 MeshLib specific, lazy, non-owning, non-mutating, composable range views.
 

Functions

std::vector< std::vector< Node * > > MeshLib::calculateNodesConnectedByElements (Mesh const &mesh)
 
bool MeshLib::operator== (Mesh const &a, Mesh const &b)
 Meshes are equal if their id's are equal.
 
bool MeshLib::operator!= (Mesh const &a, Mesh const &b)
 
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)
 
bool MeshLib::isBaseNode (Node const &node, std::vector< Element const * > const &elements_connected_to_node)
 
std::pair< double, double > MeshLib::minMaxEdgeLength (std::vector< Element * > const &elements)
 Returns the minimum and maximum edge length for given elements.
 
template<typename T >
bool MeshLib::idsComparator (T const a, T const b)
 
MeshMeshLib::findMeshByName (std::vector< std::unique_ptr< Mesh > > const &meshes, std::string_view const name)
 

Variables

constexpr ranges::views::view_closure MeshLib::views::ids
 For an element of a range view return its id.
 
constexpr ranges::views::view_closure MeshLib::views::names
 For an element of a range view return its name.
 
constexpr ranges::views::view_closure MeshLib::views::coords