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

Function pow

src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H:373–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371// Form^0 = 1.0
372template<class Form, class Cmpt, direction Ncmpts>
373inline typename powProduct<Form, 0>::type pow
374(
375 const VectorSpace<Form, Cmpt, Ncmpts>&,
376 typename powProduct<Form, 0>::type
377 = pTraits<typename powProduct<Form, 0>::type>::zero
378)
379{
380 return 1.0;
381}
382
383// Form^1 = Form
384template<class Form, class Cmpt, direction Ncmpts>

Callers 15

mainFunction · 0.50
polyValue1Function · 0.50
getMergeDistanceFunction · 0.50
mainFunction · 0.50
bodyCentredCubic.CFile · 0.50
faceCentredCubic.CFile · 0.50
uniformGrid.CFile · 0.50
averageAnyCellSizeMethod · 0.50
buildSurfaceConformationFunction · 0.50
getMergeDistanceFunction · 0.50
mainFunction · 0.50

Calls 1

sqrFunction · 0.50

Tested by 2

mainFunction · 0.40
polyValue1Function · 0.40