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

Function get_test_params

Tests/Particles/NeighborParticles/main.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void get_test_params(TestParams& params, const std::string& prefix)
47{
48 ParmParse pp(prefix);
49 pp.get("size", params.size);
50 pp.get("max_grid_size", params.max_grid_size);
51 pp.get("is_periodic", params.is_periodic);
52
53 params.do_plotfile = true;
54 pp.query("do_plotfile", params.do_plotfile);
55
56 params.check_answer = true;
57 pp.query("check_answer", params.check_answer);
58}
59
60void testNeighborParticles ()
61{

Callers 2

testNeighborParticlesFunction · 0.70
testNeighborListFunction · 0.70

Calls 2

getMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected