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

Function get_test_params

Tests/Particles/ParallelContext/main.cpp:334–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void get_test_params(TestParams& params, const std::string& prefix)
335{
336 ParmParse pp(prefix);
337 pp.get("size", params.size);
338 pp.get("max_grid_size", params.max_grid_size);
339 pp.get("num_ppc", params.num_ppc);
340 pp.get("is_periodic", params.is_periodic);
341 pp.get("move_dir", params.move_dir);
342 pp.get("do_random", params.do_random);
343 pp.get("nsteps", params.nsteps);
344 pp.get("do_regrid", params.do_regrid);
345 pp.query("num_runtime_real", num_runtime_real);
346 pp.query("num_runtime_int", num_runtime_int);
347
348 params.sort = 0;
349 pp.query("sort", params.sort);
350}
351
352void testParallelContext ()
353{

Callers 1

testParallelContextFunction · 0.70

Calls 2

getMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected