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

Function operator+

src/OpenFOAM/primitives/complex/complexI.H:232–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230// * * * * * * * * * * * * * * * Friend Operators * * * * * * * * * * * * * //
231
232inline complex operator+(const complex& c1, const complex& c2)
233{
234 return complex
235 (
236 c1.re + c2.re,
237 c1.im + c2.im
238 );
239}
240
241
242inline complex operator-(const complex& c)

Callers

nothing calls this directly

Calls 1

complexClass · 0.85

Tested by

no test coverage detected