16 const auto nVertices = (coordinates.
size() / meshDim);
17 Eigen::Map<const Eigen::MatrixXd> C(coordinates.
data(), meshDim, nVertices);
18 Eigen::VectorXd minCoeffs = C.rowwise().minCoeff();
19 Eigen::VectorXd maxCoeffs = C.rowwise().maxCoeff();
22 PRECICE_CHECK(minCheck && maxCheck,
"The provided coordinates in \"{}\" are not within the access region defined with \"setMeshAccessRegion()\". "
23 "Minimum corner of the provided values is (x,y,z) = ({}), the minimum corner of the access region box is (x,y,z) = ({}). "
24 "Maximum corner of the provided values is (x,y,z) = ({}), the maximum corner of the access region box is (x,y,z) = ({}). ",
26 C.colwise().maxCoeff();
mesh::PtrMesh mesh
Mesh holding the geometry data structure.
void checkVerticesInsideAccessRegion(precice::span< const double > coordinates, int meshDim, std::string_view functionName) const
std::shared_ptr< mesh::BoundingBox > userDefinedAccessRegion
std::vector< std::reference_wrapper< const mesh::Vertex > > filterVerticesToLocalAccessRegion(bool requiresBB) const
Filters vertices to those within the local access region.