Go to the documentation of this file.
48SpatialLocalizerInterface :: SpatialLocalizerI_containsPoint(
const FloatArray &coords)
51 return this->
element->computeLocalCoordinates(lcoords, coords);
57 bb1 = bb0 =
element->giveNode(1)->giveCoordinates();
59 for (
int i = 2; i <=
element->giveNumberOfNodes(); ++i ) {
60 const auto &coordinates =
element->giveNode(i)->giveCoordinates();
83SpatialLocalizerInterface :: SpatialLocalizerI_BBoxContainsPoint(
const FloatArray &coords)
89 for (
int j = 1; j <= size; j++ ) {
90 if ( coords.
at(j) < coordMin.
at(j) || coords.
at(j) > coordMax.
at(j) ) {
113 for (
int node: nodesWithinBox ) {
115 for (
int i = 1; i <= dofmanConnectivity->
giveSize(); i++ ) {
const IntArray * giveDofManConnectivityArray(int dofman)
virtual int global2local(FloatArray &answer, const FloatArray &gcoords, const FEICellGeometry &cellgeo) const =0
virtual void local2global(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
Index giveSize() const
Returns the size of receiver.
void beMinOf(const FloatArray &a, const FloatArray &b)
void beMaxOf(const FloatArray &a, const FloatArray &b)
bool insertSortedOnce(int value, int allocChunk=0)
virtual void SpatialLocalizerI_giveBBox(FloatArray &bb0, FloatArray &bb1)
Domain * domain
Link to domain object.
virtual void giveAllNodesWithinBox(nodeContainerType &nodeList, const FloatArray &coords, const double radius)=0
std ::list< int > nodeContainerType
Typedefs to introduce the container type for nodal numbers, returned by some services.
IntArray elementContainerType
Typedefs to introduce the container type for element numbers, returned by some services.
FloatArrayF< N > min(const FloatArrayF< N > &a, const FloatArrayF< N > &b)
double distance(const FloatArray &x, const FloatArray &y)
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011