Definition of the Mesh class.
- Author
- Karsten Rink
- Date
- 2012-05-02
- Copyright
- Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org) Distributed under a Modified BSD License. See accompanying file LICENSE.txt or http://www.opengeosys.org/project/license
Definition in file Mesh.h.
#include <cstdlib>
#include <memory>
#include <range/v3/view/transform.hpp>
#include <string>
#include <vector>
#include "BaseLib/Error.h"
#include "MeshEnums.h"
#include "Properties.h"
Go to the source code of this file.
|
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) |
|
void | MeshLib::scaleMeshPropertyVector (MeshLib::Mesh &mesh, std::string const &property_name, double factor) |
|
template<typename T > |
void | MeshLib::addPropertyToMesh (Mesh &mesh, std::string_view name, MeshItemType item_type, std::size_t number_of_components, std::vector< T > const &values) |
|
template<typename T > |
PropertyVector< T > * | MeshLib::getOrCreateMeshProperty (Mesh &mesh, std::string const &property_name, MeshItemType const item_type, int const number_of_components) |
|
PropertyVector< int > const * | MeshLib::materialIDs (Mesh const &mesh) |
|
std::unique_ptr< Mesh > | MeshLib::createMeshFromElementSelection (std::string mesh_name, std::vector< Element * > const &elements) |
|
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.
|
|
|
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.
|
|