OGS
MeshLib::views Namespace Reference

Detailed Description

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

Variables

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

Variable Documentation

◆ coords

ranges::views::view_closure MeshLib::views::coords
inlineconstexpr
Initial value:
=
ranges::views::transform([](MathLib::Point3d const* n)
{ return std::span(n->data(), n->data() + 3); })
const double * data() const
Definition Point3d.h:60

Definition at line 232 of file Mesh.h.

Referenced by OGSMesh::getPointCoordinates().

◆ ids

ranges::views::view_closure MeshLib::views::ids
inlineconstexpr
Initial value:
=
ranges::views::transform([](auto const& a) { return a->getID(); })

For an element of a range view return its id.

Definition at line 225 of file Mesh.h.

Referenced by MeshLib::Mesh::Mesh(), ProcessLib::LIE::SmallDeformation::SmallDeformationProcess< DisplacementDim >::SmallDeformationProcess(), MaterialPropertyLib::checkMaterialSpatialDistributionMap(), MaterialPropertyLib::checkMPLPhasesForSinglePhaseFlow(), ProcessLib::ComponentTransport::checkMPLProperties(), ProcessLib::RichardsComponentTransport::anonymous_namespace{CreateRichardsComponentTransportProcess.cpp}::checkMPLProperties(), ProcessLib::StokesFlow::anonymous_namespace{CreateStokesFlowProcess.cpp}::checkMPLProperties(), MeshLib::computeGhostBaseNodeGlobalNodeIDsOfSubDomainPartition(), MeshLib::computeNumberOfRegularNodes(), ApplicationUtils::computePartitionIDPerElement(), MeshLib::computeRegularBaseNodeGlobalNodeIDsOfSubDomainPartition(), ProcessLib::createDeactivatedSubdomainMesh(), ProcessLib::LIE::HydroMechanics::createHydroMechanicsProcess(), MeshLib::createMeshFromElementSelection(), NumLib::MeshComponentMap::createSerialMeshComponentMap(), ProcessLib::extractElementsAlongOuterNodes(), ProcessLib::extractInnerAndOuterNodes(), MeshLib::filter(), MeshLib::findElementsConnectedToNodes(), MeshToolsLib::BoundaryExtraction::getBoundaryElementsAsMesh(), OGSMesh::getCells(), ProcessLib::getEssentialBCValuesLocal(), MeshToolsLib::MeshSurfaceExtraction::getMeshSurface(), anonymous_namespace{IdentifySubdomainMesh.cpp}::identifySubdomainMeshElements(), ProcessLib::ConstraintDirichletBoundaryCondition::preTimestep(), and MeshLib::IO::transformToXDMFTopology().

◆ names

ranges::views::view_closure MeshLib::views::names
inlineconstexpr
Initial value:
=
ranges::views::transform([](auto const& a) { return a->getName(); })

For an element of a range view return its name.

Definition at line 229 of file Mesh.h.

Referenced by anonymous_namespace{ProjectData.cpp}::readMeshes().