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

Function PrintUsage

Tools/Plotfile/faverage.cpp:272–282  ·  view source on GitHub ↗

Print usage info

Source from the content-addressed store, hash-verified

270// Print usage info
271//
272void PrintUsage ()
273{
274 amrex::Print() << "\n"
275 << " Horizontally average a variable\n"
276 << " Usage: \n"
277 << " faverage {[-v|--variable] name} {[-f|--favre]} plotfile\n"
278 << "\n"
279 << " -v name : variable to average (default: density)\n"
280 << " -f : do Favre (density-weighted) average\n"
281 << '\n';
282}

Callers 1

mainFunction · 0.70

Calls 1

PrintClass · 0.85

Tested by

no test coverage detected