MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / Im

Function Im

src/OpenFOAM/fields/Fields/complexFields/complexFields.C:110–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109
110scalarField Im(const UList<complex>& cf)
111{
112 scalarField sf(cf.size());
113
114 forAll(sf, i)
115 {
116 sf[i] = cf[i].Im();
117 }
118
119 return sf;
120}
121
122
123// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 1

operatorFunction · 0.85

Calls 3

ImMethod · 0.80
forAllFunction · 0.50
componentMethod · 0.45

Tested by

no test coverage detected