MCPcopy Create free account
hub / github.com/cselab/aphros / MulDiffusion

Function MulDiffusion

examples/107_wasm/diffusion.cpp:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190extern "C" {
191Scal MulDiffusion(Scal factor) {
192 auto& s = *g_state;
193 s.diffusion *= factor;
194 std::cout << util::Format("diff={}", s.diffusion) << std::endl;
195 return s.diffusion;
196}
197Scal AddVelocityAngle(Scal add_deg) {
198 auto& s = *g_state;
199 const Vect v = s.velocity;

Callers

nothing calls this directly

Calls 1

FormatFunction · 0.85

Tested by

no test coverage detected