Peano 4
Loading...
Searching...
No Matches
Utils.cpp
Go to the documentation of this file.
1#include "Utils.h"
2
7) {
8 return tarch::la::oneSmallerEquals( marker.x() - 0.5 * marker.h(), domainOffset )
9 or tarch::la::oneGreaterEquals( marker.x() + 0.5 * marker.h(), domainOffset + domainSize );
10}
bool isVertexOnGlobalBoundary(const peano4::datamanagement::VertexMarker &marker, const tarch::la::Vector< Dimensions, double > &domainOffset, const tarch::la::Vector< Dimensions, double > &domainSize)
Definition Utils.cpp:3
bool oneSmallerEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
bool oneGreaterEquals(const Vector< Size, Scalar > &lhs, const Scalar &cmp, const Scalar tolerance=NUMERICAL_ZERO_DIFFERENCE)
Vertex marker to provide information about selected vertex.
Simple vector class.
Definition Vector.h:134