11 template <
class DeviceType>
15 GPTLget_wallclock(
"MAIN_LOOP", -1, &loop_time);
22 std::cout <<
"SimpleFOM = 1/(loop_time/(total_ptl * sml.mstep)) = 1/(" << loop_time <<
"/(" << total_ptl <<
" * " << sml.
mstep <<
")) = "
23 << 1.0/(loop_time/(total_ptl * sml.
mstep)) << std::endl;
bool is_rank_zero()
Definition: globals.hpp:27
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1224
Definition: plasma.hpp:107
void simpleFOM(Plasma &plasma, DomainDecomposition< DeviceType > &pol_decomp, Simulation< DeviceType > &sml)
Definition: simpleFOM.hpp:12
void for_all_nonadiabatic_species(F func, DevicePtlOpt device_ptl_opt=UseDevicePtl)
Definition: plasma.hpp:126
long long int get_total_n_ptl()
Definition: species.hpp:693
int mstep
Max number of time steps.
Definition: sml.hpp:61
Definition: plasma.hpp:13
Definition: species.hpp:75