OGS
MeshGeoToolsLib::SearchLength Class Reference

Detailed Description

Base class for all SearchLength strategy implementations. The default implementation is mesh independent and provides a strong criterion for searching mesh nodes near a geometry. The algorithm can be used for meshes that have nearly equi-sized elements.

Definition at line 22 of file SearchLength.h.

#include <SearchLength.h>

Inheritance diagram for MeshGeoToolsLib::SearchLength:
[legend]

Public Member Functions

 SearchLength (double search_length=1e-9)
 
 SearchLength (SearchLength const &)=default
 
SearchLengthoperator= (SearchLength const &)=default
 
virtual ~SearchLength ()=default
 
virtual double getSearchLength () const
 

Protected Attributes

double _search_length
 

Constructor & Destructor Documentation

◆ SearchLength() [1/2]

MeshGeoToolsLib::SearchLength::SearchLength ( double search_length = 1e-9)
inlineexplicit

Constructor for SearchLength object with a default search length of 10 angstrom ( \(10^{-9}\) m)

Definition at line 27 of file SearchLength.h.

28 : _search_length(search_length) {}

◆ SearchLength() [2/2]

MeshGeoToolsLib::SearchLength::SearchLength ( SearchLength const & )
default

◆ ~SearchLength()

virtual MeshGeoToolsLib::SearchLength::~SearchLength ( )
virtualdefault

Member Function Documentation

◆ getSearchLength()

virtual double MeshGeoToolsLib::SearchLength::getSearchLength ( ) const
inlinevirtual

Definition at line 35 of file SearchLength.h.

36 {
37 return _search_length;
38 }

References _search_length.

◆ operator=()

SearchLength & MeshGeoToolsLib::SearchLength::operator= ( SearchLength const & )
default

Member Data Documentation

◆ _search_length

double MeshGeoToolsLib::SearchLength::_search_length
protected

The documentation for this class was generated from the following file: