MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / genrandn

Function genrandn

src/adv_diff/AdvDiffStochasticForcing.cpp:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70namespace
71{
72void
73genrandn(ArrayData<NDIM, double>& data, const Box<NDIM>& box)
74{
75 for (int depth = 0; depth < data.getDepth(); ++depth)
76 {
77 for (Box<NDIM>::Iterator i(box); i; i++)
78 {
79 RNG::genrandn(&data(i(), depth));
80 }
81 }
82 return;
83} // genrandn
84} // namespace
85
86/////////////////////////////// PUBLIC ///////////////////////////////////////

Callers 1

Calls 2

getDepthMethod · 0.80
dataFunction · 0.50

Tested by

no test coverage detected