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

Function Re

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

Source from the content-addressed store, hash-verified

95
96
97scalarField Re(const UList<complex>& cf)
98{
99 scalarField sf(cf.size());
100
101 forAll(sf, i)
102 {
103 sf[i] = cf[i].Re();
104 }
105
106 return sf;
107}
108
109
110scalarField Im(const UList<complex>& cf)

Callers 5

phasePair.CFile · 0.85
IATEsource.CFile · 0.85
phasePair.CFile · 0.85
IATEsource.CFile · 0.85
operatorFunction · 0.85

Calls 3

forAllFunction · 0.50
ReMethod · 0.45
componentMethod · 0.45

Tested by

no test coverage detected