Implementation details for various OpenFOAM classes. More...
Namespaces | |
ListPolicy | |
Additional compile-time controls of List behaviour. | |
Classes | |
class | HashTablePair |
Internal storage type for HashTable entries. More... | |
struct | HashTableSingle |
Internal storage type for HashSet entries. More... | |
class | IListStreamAllocator |
An stream/stream-buffer input allocator with List storage. More... | |
struct | isPointerLike |
Pointer-like behaviour. More... | |
struct | isPointerLike< autoPtr< T > > |
Pointer-like behaviour for autoPtr. More... | |
struct | isPointerLike< std::unique_ptr< T > > |
Pointer-like behaviour for std::unique_ptr. More... | |
class | MeshedSurfaceIOAllocator |
A helper class for storing points and faces with IO capabilities. More... | |
class | OCountStreamAllocator |
An stream/stream-buffer allocator for counting. More... | |
class | OListStreamAllocator |
An stream/stream-buffer output allocator with DynamicList-like storage. More... | |
class | OSHA1streamAllocator |
Allocator for an osha1stream. More... | |
class | PackedListCore |
Template-invariant parts for PackedList. More... | |
class | parcelSelection |
Selection of parcels based on their objectRegistry entries. Normally accessed via a dictionary entry. More... | |
class | PtrListDetail |
A rudimentary list of pointers used for PtrList, UPtrList, etc. This class is considered implementation detail and should not normally be used other than by OpenFOAM container classes. More... | |
class | STLAsciiParse |
Internal class used when parsing STL ASCII format. More... | |
class | STLAsciiParseManual |
A lexer for parsing STL ASCII files. More... | |
class | StringStreamAllocator |
Allocator for variants of a std stringstream. More... | |
class | UIListStreamAllocator |
An stream/stream-buffer input allocator for a externally allocated list. More... | |
class | UOListStreamAllocator |
An stream/stream-buffer allocator for external buffers. More... | |
class | zoneSubSet |
Functions | |
defineTypeNameAndDebug (zoneSubSet, 0) | |
defineTypeName (PackedListCore) | |
template<class IS > | |
void | inputLoop (IS &) |
Termination for input looping (no-op) More... | |
template<class OS > | |
void | outputLoop (OS &) |
Termination for output looping (no-op) More... | |
template<class IS , class Type , class... Args> | |
void | inputLoop (IS &is, Type &arg1, Args &&... args) |
Input looping. Read into first parameter and recurse. More... | |
template<class OS , class Type , class... Args> | |
void | outputLoop (OS &os, const Type &arg1, Args &&... args) |
Output looping. Write first parameter and recurse. More... | |
template<class T > | |
void | readContiguous (Istream &is, char *data, std::streamsize byteCount) |
Read binary block of contiguous data, possibly with conversion. More... | |
template<class Type , template< class > class PatchField, class GeoMesh > | |
bool | reusable (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tfld) |
True if tmp GeometricField has a reusable pointer. More... | |
template<class PointList , class IndexerOp > | |
label | mergePoints (const PointList &points, const IndexerOp &indexer, const label nSubPoints, labelList &pointToUnique, labelList &uniquePoints, const scalar mergeTol, const bool verbose) |
Implementation detail for Foam::mergePoints. More... | |
template<class T > | |
std::enable_if< !std::is_same< complex, T >::value, const T &>::type | conj (const T &val) |
The 'conjugate' of non-complex returns itself (pass-through) it does not return a complex! More... | |
template<class T > | |
std::enable_if< std::is_same< complex, T >::value, complex >::type | conj (const T &val) |
The conjugate of a complex number. More... | |
Implementation details for various OpenFOAM classes.
Foam::Detail::defineTypeNameAndDebug | ( | zoneSubSet | , |
0 | |||
) |
Foam::Detail::defineTypeName | ( | PackedListCore | ) |
|
inline |
Termination for input looping (no-op)
Definition at line 578 of file IOstream.H.
Referenced by Pstream::broadcasts(), and inputLoop().
|
inline |
Termination for output looping (no-op)
Definition at line 583 of file IOstream.H.
Referenced by Pstream::broadcasts(), and outputLoop().
|
inline |
Input looping. Read into first parameter and recurse.
Definition at line 589 of file IOstream.H.
References args, and inputLoop().
|
inline |
Output looping. Write first parameter and recurse.
Definition at line 599 of file IOstream.H.
References args, os(), and outputLoop().
void Foam::Detail::readContiguous | ( | Istream & | is, |
char * | data, | ||
std::streamsize | byteCount | ||
) |
Read binary block of contiguous data, possibly with conversion.
Definition at line 305 of file Istream.H.
References Istream::beginRawRead(), Istream::endRawRead(), Istream::readRaw(), and Foam::readRawLabel().
|
inline |
True if tmp GeometricField has a reusable pointer.
With GeometricField::debug on, check if patches have reusable types
Definition at line 43 of file GeometricFieldReuseFunctions.H.
References polyPatch::constraintType(), Foam::endl(), Foam::isA(), p, and WarningInFunction.
Referenced by reuseTmpGeometricField< TypeR, TypeR, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField< TypeR, Type1, Type12, TypeR, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, Type2, PatchField, GeoMesh >::New(), and reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, TypeR, PatchField, GeoMesh >::New().
label Foam::Detail::mergePoints | ( | const PointList & | points, |
const IndexerOp & | indexer, | ||
const label | nSubPoints, | ||
labelList & | pointToUnique, | ||
labelList & | uniquePoints, | ||
const scalar | mergeTol, | ||
const bool | verbose | ||
) |
Implementation detail for Foam::mergePoints.
The implementation algorithm is provided with an indexer functor to map the subset of points to be merged into the full list. if passed the identityOp this is the same as merging all points.
points | The input of all (unmerged) points |
indexer | Indexer for sub-points into all points |
nSubPoints | The number of sub-points |
pointToUnique | An old-to-new mapping |
uniquePoints | List of unique points from full list |
mergeTol | Geometric merge tolerance |
verbose | Debug verbosity |
std::enable_if< !std::is_same<complex, T>::value, const T& >::type Foam::Detail::conj | ( | const T & | val | ) |
The 'conjugate' of non-complex returns itself (pass-through) it does not return a complex!
Definition at line 386 of file complex.H.
Referenced by Foam::operator &(), Foam::operator^(), and Matrix< RectangularMatrix< Type >, Type >::T().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.