56 cvf[i].
component(cmpt).Im() = im[i].component(cmpt);
90 cvf[i].
component(cmpt).Im() = im[i].component(cmpt);
107 cvf[i].component(cmpt).Re() + cvf[i].component(cmpt).Im();
123 vf[i].
component(cmpt) = cvf[i].component(cmpt).Re();
139 vf[i].
component(cmpt) = cvf[i].component(cmpt).Im();
Macros for easy insertion into run-time selection tables.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n)
Older name for setAddressableSize.
dimensioned< cmptType > component(const direction d) const
Return a component as a dimensioned<cmptType>
static constexpr direction nComponents
Number of components in bool is 1.
scalarField Re(const UList< complex > &cf)
Extract real component.
complexField ImComplexField(const UList< scalar > &im)
Create complex field from a list of imag (using real == 0)
complexField ReComplexField(const UList< scalar > &re)
Create complex field from a list of real (using imag == 0)
complexField ComplexField(const UList< scalar > &re, const UList< scalar > &im)
Zip up two lists of values into a list of complex.
scalarField Im(const UList< complex > &cf)
Extract imag component.
scalarField ReImSum(const UList< complex > &cf)
Sum real and imag components.
#define forAll(list, i)
Loop across all elements in list.
#define addCompoundToRunTimeSelectionTable(Type, Tag)
Add compound to selection table, lookup using typeName.
#define defineCompoundTypeName(Type, UnusedTag)
Define compound using Type for its name.