RemoteData< Type > Class Template Reference

Struct for keeping processor, element (cell, face, point) and a piece of data. Used for finding minimum values across multiple processes. More...

Inheritance diagram for RemoteData< Type >:
Collaboration diagram for RemoteData< Type >:

Classes

struct  firstProcEqOp
 Operator to take the first valid process. More...
 
struct  firstProcOp
 Operator to take the first valid process. More...
 
struct  greatestEqOp
 Operator to take greatest valid value. More...
 
struct  greatestFirstEqOp
 Operator to take greatest first valid value. More...
 
struct  smallestEqOp
 Operator to take smallest valid value. More...
 
struct  smallestFirstEqOp
 Operator to take smallest first valid value. More...
 

Public Types

typedef RemoteData< Type > cmptType
 Component type. More...
 
- Public Types inherited from remote
typedef remote cmptType
 Component type. More...
 

Public Member Functions

 RemoteData ()
 Construct null. More...
 
 RemoteData (const label, const label, const Type &)
 Construct from components. More...
 
 RemoteData (const label, const Type &)
 Construct from element index and data. Pstream will be used to. More...
 
 RemoteData (Istream &is)
 Construct from stream. More...
 
- Public Member Functions inherited from remote
 remote ()
 Construct null. More...
 
 remote (const label, const label)
 Construct from components. More...
 
 remote (const label)
 Construct from element index. Pstream will be used to determine the. More...
 
 remote (Istream &is)
 Construct from stream. More...
 

Public Attributes

Type data
 Data. More...
 
- Public Attributes inherited from remote
label proci
 Processor index. More...
 
label elementi
 Element index. More...
 

Friends

bool operator== (const RemoteData< Type > &a, const RemoteData< Type > &b)
 Equality comparison. More...
 
bool operator!= (const RemoteData< Type > &a, const RemoteData< Type > &b)
 Inequality comparison. More...
 
Ostreamoperator (Ostream &os, const RemoteData< Type > &p)
 Write to stream. More...
 
Istreamoperator>> (Istream &is, RemoteData< Type > &p)
 Read from stream. More...
 

Detailed Description

template<class Type>
class Foam::RemoteData< Type >

Struct for keeping processor, element (cell, face, point) and a piece of data. Used for finding minimum values across multiple processes.

Source files

Definition at line 62 of file RemoteData.H.

Member Typedef Documentation

◆ cmptType

typedef RemoteData<Type> cmptType

Component type.

Definition at line 69 of file RemoteData.H.

Constructor & Destructor Documentation

◆ RemoteData() [1/4]

RemoteData
inline

Construct null.

Definition at line 31 of file RemoteDataI.H.

◆ RemoteData() [2/4]

RemoteData ( const label  p,
const label  e,
const Type &  d 
)
inline

Construct from components.

Definition at line 39 of file RemoteDataI.H.

◆ RemoteData() [3/4]

RemoteData ( const label  e,
const Type &  d 
)
inline

Construct from element index and data. Pstream will be used to.

determine the processor index.

Definition at line 52 of file RemoteDataI.H.

◆ RemoteData() [4/4]

RemoteData ( Istream is)
inline

Construct from stream.

Definition at line 60 of file RemoteDataI.H.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const RemoteData< Type > &  a,
const RemoteData< Type > &  b 
)
friend

Equality comparison.

◆ operator!=

bool operator!= ( const RemoteData< Type > &  a,
const RemoteData< Type > &  b 
)
friend

Inequality comparison.

◆ operator

Ostream& operator ( Ostream os,
const RemoteData< Type > &  p 
)
friend

Write to stream.

◆ operator>>

Istream& operator>> ( Istream is,
RemoteData< Type > &  p 
)
friend

Read from stream.

Member Data Documentation

◆ data


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