OGS
MapBulkElementPoint.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
8
9namespace MeshLib
10{
15
23MathLib::Point3d getBulkElementPoint(
24 MeshLib::CellType const bulk_element_cell_type,
25 std::size_t const bulk_face_id,
26 MathLib::WeightedPoint const& point_on_face);
27
30 MeshLib::Element const& bulk_element,
31 std::size_t const bulk_face_id,
32 MathLib::WeightedPoint const& point_on_face)
33{
35 bulk_element.getCellType(), bulk_face_id, point_on_face);
36}
37} // namespace MeshLib
virtual CellType getCellType() const =0
MathLib::Point3d getBulkElementPoint(MeshLib::CellType const bulk_element_cell_type, std::size_t const bulk_face_id, MathLib::WeightedPoint const &point_on_face)
CellType
Types of mesh elements supported by OpenGeoSys.
Definition MeshEnums.h:53