Public Member Functions | List of all members
PDRblock::location Class Reference
Inheritance diagram for PDRblock::location:
Inheritance graph
[legend]
Collaboration diagram for PDRblock::location:
Collaboration graph
[legend]

Public Member Functions

bool valid () const
 
label nCells () const
 
label nPoints () const
 
bool contains (const scalar p) const
 
const scalar & min () const
 
const scalar & max () const
 
scalar centre () const
 
scalar length () const
 
void checkIndex (const label i) const
 
scalar width (const label i) const
 
scalar C (const label i) const
 
scalarMinMax edgeLimits () const
 
gradingDescriptors grading () const
 
label findCell (const scalar p) const
 
label findIndex (const scalar p, const scalar tol) const
 
const scalar & clip (const scalar &val) const
 
- Public Member Functions inherited from List
constexpr List () noexcept
 
 List (const label len)
 
 List (const label len, const T &val)
 
 List (const label len, const Foam::zero)
 
 List (const Foam::one, const T &val)
 
 List (const Foam::one, T &&val)
 
 List (const Foam::one, const Foam::zero)
 
 List (const List< T > &a)
 
 List (const UList< T > &a)
 
 List (List< T > &a, bool reuse)
 
 List (const UList< T > &list, const labelUList &indices)
 
template<unsigned N>
 List (const UList< T > &list, const FixedList< label, N > &indices)
 
template<unsigned N>
 List (const FixedList< T, N > &list)
 
 List (const PtrList< T > &list)
 
 List (const SLList< T > &list)
 
template<class Addr >
 List (const IndirectListBase< T, Addr > &list)
 
 List (std::initializer_list< T > list)
 
 List (List< T > &&list)
 
template<int SizeMin>
 List (DynamicList< T, SizeMin > &&list)
 
 List (SortableList< T > &&list)
 
 List (SLList< T > &&list)
 
 List (Istream &is)
 
autoPtr< List< T > > clone () const
 
 ~List ()
 
void clear ()
 
void resize (const label len)
 
void resize (const label len, const T &val)
 
void resize_nocopy (const label len)
 
void setSize (const label n)
 
void setSize (const label n, const T &val)
 
void append (const T &val)
 
void append (T &&val)
 
void append (const UList< T > &list)
 
template<class Addr >
void append (const IndirectListBase< T, Addr > &list)
 
label appendUniq (const T &val)
 
void transfer (List< T > &list)
 
template<int SizeMin>
void transfer (DynamicList< T, SizeMin > &list)
 
void transfer (SortableList< T > &list)
 
TnewElmt (const label i)
 
void operator= (const UList< T > &a)
 
void operator= (const List< T > &list)
 
void operator= (const SLList< T > &list)
 
template<class Addr >
void operator= (const IndirectListBase< T, Addr > &list)
 
template<unsigned N>
void operator= (const FixedList< T, N > &list)
 
void operator= (std::initializer_list< T > list)
 
void operator= (const T &val)
 
void operator= (const Foam::zero)
 
void operator= (List< T > &&list)
 
template<int SizeMin>
void operator= (DynamicList< T, SizeMin > &&list)
 
void operator= (SortableList< T > &&list)
 
void operator= (SLList< T > &&list)
 
IstreamreadList (Istream &is)
 
void shallowCopy (const UList< T > &)=delete
 
template<class TypeT = T>
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type set (const label i, bool val=true)
 
template<class T >
 List (const label len)
 
template<class T >
 List (const label len, const T &val)
 
template<class T >
 List (const label len, const Foam::zero)
 
template<class T >
 List (const Foam::one, const T &val)
 
template<class T >
 List (const Foam::one, T &&val)
 
template<class T >
 List (const Foam::one, const Foam::zero)
 
template<class T >
 List (const UList< T > &a)
 
template<class T >
 List (const List< T > &a)
 
template<class T >
 List (List< T > &a, bool reuse)
 
template<class T >
 List (const UList< T > &list, const labelUList &indices)
 
template<class T >
 List (const PtrList< T > &list)
 
template<class T >
 List (const SLList< T > &list)
 
template<class T >
 List (std::initializer_list< T > list)
 
template<class T >
 List (List< T > &&list)
 
template<class T >
 List (SortableList< T > &&list)
 
template<class T >
 List (SLList< T > &&list)
 
template<class T >
void transfer (List< T > &list)
 
template<class T >
void transfer (SortableList< T > &list)
 
template<class T >
void operator= (const UList< T > &a)
 
template<class T >
void operator= (const List< T > &list)
 
template<class T >
void operator= (const SLList< T > &list)
 
template<class T >
void operator= (std::initializer_list< T > list)
 
template<class T >
void operator= (List< T > &&list)
 
template<class T >
void operator= (SortableList< T > &&list)
 
template<class T >
void operator= (SLList< T > &&list)
 
IstreamreadList (Istream &is)
 
template<class T >
constexpr List () noexcept
 
void resize (const label newLen)
 
template<class T >
void append (const T &val)
 
template<class T >
void append (T &&val)
 
template<class T >
void append (const UList< T > &list)
 
template<class T >
void operator= (const T &val)
 
template<class T >
void operator= (const Foam::zero)
 
template<class T >
 List (Istream &is)
 
IstreamreadList (Istream &is)
 

Additional Inherited Members

- Public Types inherited from List
typedef SubList< TsubList
 
- Static Public Member Functions inherited from List
static const List< T > & null ()
 

Detailed Description

Definition at line 174 of file PDRblock.H.

Member Function Documentation

◆ valid()

bool valid ( ) const
inline

Definition at line 24 of file PDRblockI.H.

◆ nCells()

Foam::label nCells ( ) const
inline

Definition at line 30 of file PDRblockI.H.

◆ nPoints()

Foam::label nPoints ( ) const
inline

Definition at line 36 of file PDRblockI.H.

◆ contains()

bool contains ( const scalar  p) const
inline

Definition at line 42 of file PDRblockI.H.

References p.

◆ min()

const Foam::scalar & min ( ) const
inline

Definition at line 48 of file PDRblockI.H.

◆ max()

const Foam::scalar & max ( ) const
inline

Definition at line 54 of file PDRblockI.H.

◆ centre()

Foam::scalar centre ( ) const
inline

Definition at line 60 of file PDRblockI.H.

◆ length()

Foam::scalar length ( ) const
inline

Definition at line 66 of file PDRblockI.H.

References Foam::mag().

Here is the call graph for this function:

◆ checkIndex()

void checkIndex ( const label  i) const
inline

Definition at line 72 of file PDRblockI.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, ijkMesh::nCells(), and Foam::nl.

Here is the call graph for this function:

◆ width()

Foam::scalar width ( const label  i) const
inline

Definition at line 84 of file PDRblockI.H.

References ijkAddressing::checkIndex().

Here is the call graph for this function:

◆ C()

Foam::scalar C ( const label  i) const
inline

Definition at line 94 of file PDRblockI.H.

References ijkAddressing::checkIndex().

Here is the call graph for this function:

◆ edgeLimits()

Foam::scalarMinMax edgeLimits ( ) const

Definition at line 256 of file PDRblockLocation.C.

References MinMax::add().

Here is the call graph for this function:

◆ grading()

gradingDescriptors grading ( ) const

◆ findCell()

Foam::label findCell ( const scalar  p) const

Definition at line 269 of file PDRblockLocation.C.

References Foam::equal(), Foam::findLower(), and p.

Here is the call graph for this function:

◆ findIndex()

Foam::label findIndex ( const scalar  p,
const scalar  tol 
) const

Definition at line 296 of file PDRblockLocation.C.

References delta, Foam::diff(), Foam::mag(), and p.

Here is the call graph for this function:

◆ clip()

const Foam::scalar & clip ( const scalar &  val) const
inline

Definition at line 120 of file PDRblockI.H.


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