Graph Framework
Loading...
Searching...
No Matches
xpic.cpp File Reference

Driver program for the Particle In Cell (PIC) demo. More...

#include <random>
#include <numbers>
#include <thread>
#include "../graph_framework/graph_framework.hpp"

Functions

template<jit::float_scalar T>
void run_pic ()
 Pic code.
int main (int argc, const char *argv[])
 Main program of the driver.

Detailed Description

Driver program for the Particle In Cell (PIC) demo.

Function Documentation

◆ main()

int main ( int argc,
const char * argv[] )

Main program of the driver.

Parameters
[in]argcNumber of commandline arguments.
[in]argvArray of commandline arguments.

◆ run_pic()

template<jit::float_scalar T>
void run_pic ( )

Pic code.

Template Parameters
TBase type of the calculation.