90 sf[i] = cf[i].Re() + cf[i].Im();
141 cvf[i].
component(cmpt).Im() = im[i].component(cmpt);
157 cvf[i].
component(cmpt).Re() = vf[i].component(cmpt);
175 cvf[i].
component(cmpt).Im() = vf[i].component(cmpt);
192 cvf[i].component(cmpt).Re() + cvf[i].component(cmpt).Im();
208 vf[i].
component(cmpt) = cvf[i].component(cmpt).Re();
224 vf[i].
component(cmpt) = cvf[i].component(cmpt).Im();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Pre-declare SubField and related Field type.
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...
void size(const label)
Override size to be inconsistent with allocated storage.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const
Return the number of elements in the UList.
static const direction nComponents
Number of components in this vector space.
dimensioned< cmptType > component(const direction) const
Return a component as a dimensioned<cmptType>
volScalarField sf(fieldObject, mesh)
const dimensionedScalar re
Classical electron radius: default SI units: [m].
defineCompoundTypeName(List< complex >, complexList)
scalarField Im(const UList< complex > &cf)
complexField ImComplexField(const UList< scalar > &sf)
complexField ReComplexField(const UList< scalar > &sf)
complexField ComplexField(const UList< scalar > &re, const UList< scalar > &im)
addCompoundToRunTimeSelectionTable(List< complex >, complexList)
scalarField ReImSum(const UList< complex > &cf)
scalarField Re(const UList< complex > &cf)