Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenFOAM/OpenFOAM-dev
/ ReImSum
Function
ReImSum
src/OpenFOAM/fields/Fields/complexFields/complexFields.C:84–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
83
84
scalarField ReImSum(const UList<complex>& cf)
85
{
86
scalarField sf(cf.size());
87
88
forAll(sf, i)
89
{
90
sf[i] = cf[i].Re() + cf[i].Im();
91
}
92
93
return sf;
94
}
95
96
97
scalarField Re(const UList<complex>& cf)
Callers
2
main
Function · 0.85
turbGen.C
File · 0.85
Calls
4
Im
Method · 0.80
forAll
Function · 0.50
Re
Method · 0.45
component
Method · 0.45
Tested by
no test coverage detected