Main Loop. More...
#include <mpi.h>#include <iostream>#include <vector>#include <valarray>#include <complex>#include <time.h>#include <math.h>#include <stdio.h>#include <float.h>#include <stdarg.h>#include <map>#include <string>#include <iomanip>#include <fstream>#include <cstdlib>#include <sstream>#include <cstring>#include <ctime>#include "lib-array.h"#include "lib-algorithms.h"#include "H5Cpp.h"#include "exprtk.hpp"#include "input.h"#include "state.h"#include "formulary.h"#include "setup.h"#include "fluid.h"#include "vlasov.h"#include "collisions.h"#include "functors.h"#include "parallel.h"#include "implicitE.h"#include "export.h"
Go to the source code of this file.
Functions | |
| double | startmessages (State1D &Y) |
| int | main (int argc, char **argv) |
Main Loop.
This file includes
Definition in file main.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Initiate the Parallel Environment and decompose the Computational Domain
Set up the grid Moves all of the relevant data from the input deck into a single container
INITIALIZATION
Vlasov - Updates the distribution function: Spatial Advection and B Field "action".
Boundaries
Finds new electric field
Uses new electric field to push distribution functions
Fokker-Planck
Hydro Motion
Error Checking
Boundaries
Vlasov //
Fokker-Planck //
Hydro //
Boundaries //
Vlasov - Updates the distribution function: Spatial Advection and B Field "action".
Boundaries
Finds new electric field
Uses new electric field to push distribution functions
Fokker-Planck
Hydro Motion
Boundaries
Vlasov //
Fokker-Planck //
Hydro //
Boundaries //
Definition at line 129 of file main.cpp.
References collisions::advance(), Setup_Y::applyexternalfields(), Setup_Y::applytravelingwave(), Grid_Info::axis, Grid_Info::charge, Input::Input_List::collisions, Output_Data::Output_Preprocessor_1D::distdump(), Input::Input_List::ext_fields, Export_Files::Folders(), Input::Input_List::hydrocharge, Input::Input_List::hydromass, Setup_Y::initialize(), Input::List(), Input::Input_List::ls, Grid_Info::mass, Input::Input_List::ms, Parallel_Environment_1D::Neighbor_Communications(), Parallel_Environment_1D::Neighbor_ImplicitE_Communications(), Grid_Info::Np, Algorithms::AxisBundle< T >::Nx(), Input::Input_List::pmax, Parallel_Environment_1D::RANK(), Input::Input_List::restart_time, startmessages(), Clock::tick(), Input::Input_List::trav_wave, Algorithms::AxisBundle< T >::xmax(), and Algorithms::AxisBundle< T >::xmin().

| double startmessages | ( | State1D & | Y | ) |
Definition at line 63 of file main.cpp.
References Formulary::B0, Formulary::cL, Input::List(), Formulary::LOGee(), Formulary::LOGei(), Formulary::n, Formulary::pi, Input::Input_List::pth_ref, Formulary::skindepth, Formulary::T0, Formulary::Tau_e(), Formulary::wp, and Formulary::Zeta.
Referenced by main().

