|
|
|
DynamicField< Type > Class Template ReferenceDynamically sized Field. WIP. More...
Inheritance diagram for DynamicField< Type >:
![]()
Collaboration diagram for DynamicField< Type >:
![]()
Detailed Descriptiontemplate<class Type>
Dynamically sized Field. WIP.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DynamicField | ( | ) | [inline] |
Construct null.
Used for temporary fields which are initialised after construction
Definition at line 28 of file DynamicFieldI.H.
| DynamicField | ( | const label | size | ) | [inline, explicit] |
Construct given size.
Used for temporary fields which are initialised after construction
Definition at line 36 of file DynamicFieldI.H.
| DynamicField | ( | const UList< Type > & | lst | ) | [inline, explicit] |
Construct as copy of a UList<Type>.
Definition at line 47 of file DynamicFieldI.H.
References List< Type >::size().

| DynamicField | ( | const Xfer< List< Type > > & | lst | ) | [inline, explicit] |
| DynamicField | ( | const UList< Type > & | mapF, | |
| const labelList & | mapAddressing | |||
| ) | [inline] |
| DynamicField | ( | const UList< Type > & | mapF, | |
| const labelListList & | mapAddressing, | |||
| const scalarListList & | weights | |||
| ) | [inline] |
Construct by interpolative mapping from the given field.
Definition at line 81 of file DynamicFieldI.H.
| DynamicField | ( | const UList< Type > & | mapF, | |
| const FieldMapper & | map | |||
| ) | [inline] |
| DynamicField | ( | const DynamicField< Type > & | f | ) | [inline] |
| DynamicField | ( | DynamicField< Type > & | f, | |
| bool | reUse | |||
| ) | [inline] |
| DynamicField | ( | const Xfer< DynamicField< Type > > & | f | ) | [inline] |
| DynamicField | ( | Istream & | is | ) | [inline] |
| static const DynamicField<Type>& null | ( | ) | [inline, static] |
Return a null field.
Reimplemented from Field< Type >.
Definition at line 92 of file DynamicField.H.
| tmp< DynamicField< Type > > clone | ( | ) | const [inline] |
| Foam::label capacity | ( | ) | const [inline] |
| void append | ( | const Type & | t | ) | [inline] |
| void setSize | ( | const label | nElem | ) | [inline] |
Alter the addressed list size.
New space will be allocated if required. Use this to resize the list prior to using the operator[] for setting values (as per List usage).
Reimplemented from List< Type >.
Definition at line 51 of file DynamicField.C.
| void operator= | ( | const DynamicField< Type > & | rhs | ) | [inline] |
Definition at line 151 of file DynamicFieldI.H.
Assignment from UList operator. Takes linear time.
Reimplemented from Field< Type >.
Definition at line 166 of file DynamicFieldI.H.
| void operator= | ( | const tmp< DynamicField< Type > > & | ) | [inline] |
Return element of Field.
Reimplemented from UList< Type >.
Definition at line 192 of file DynamicFieldI.H.
Referenced by DynamicField< Type >::operator[]().

Return element of constant Field.
Reimplemented from UList< Type >.
Definition at line 199 of file DynamicFieldI.H.
References DynamicField< Type >::operator[]().

| Ostream& operator | ( | Ostream & | , | |
| const DynamicField< Type > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const tmp< DynamicField< Type > > & | ||||
| ) | [friend] |
| Istream& operator>> | ( | Istream & | , | |
| DynamicField< Type > & | ||||
| ) | [friend] |
Definition at line 89 of file DynamicField.C.
const char *const typeName [inline, static] |