22constexpr unsigned Dim = 3;
28#include <Kokkos_MathematicalConstants.hpp>
29#include <Kokkos_MathematicalFunctions.hpp>
30#include <Kokkos_Random.hpp>
45int main(
int argc,
char* argv[]) {
57 for (
unsigned d = 0; d <
Dim; d++) {
58 nr[d] = std::atoi(argv[arg++]);
61 size_type totalP = std::atoll(argv[arg++]);
62 int nt = std::atoi(argv[arg++]);
63 std::string solver = argv[arg++];
64 double lbt = std::atof(argv[arg++]);
65 std::string step_method = argv[arg++];
75 msg <<
"Starting iterations ..." <<
endl;
79 msg <<
"End." <<
endl;
int main(int argc, char *argv[])
ippl::detail::size_type size_type
ippl::Vector< T, Dim > Vector_t
Inform & endl(Inform &inf)
void initialize(int &argc, char *argv[], MPI_Comm comm)
void run(int nt)
The main for loop fro running a simulation.
Timing::TimerRef TimerRef
static TimerRef getTimer(const char *nm)
static void stopTimer(TimerRef t)
static void startTimer(TimerRef t)
void setTime(double time_)
void pre_run() override
A method that should be used for setting up the simulation.