MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / Scale

Function Scale

Src/Base/AMReX_FabArrayUtility.H:1875–1878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1873//! dst *= val
1874template <MultiFabLike MF>
1875void Scale (MF& dst, typename MF::value_type val, int scomp, int ncomp, int nghost)
1876{
1877 dst.mult(val, scomp, ncomp, nghost);
1878}
1879
1880//! dst = src
1881template <MultiFabLike DMF, MultiFabLike SMF>

Callers 4

mainFunction · 0.85
mainFunction · 0.85
scaleMethod · 0.85
applyMethod · 0.85

Calls 1

multMethod · 0.45

Tested by

no test coverage detected