Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
vlasiator.cpp File Reference
#include "common.h"
#include <cstdlib>
#include <iostream>
#include <cmath>
#include <vector>
#include <sstream>
#include <ctime>
#include <chrono>
#include <fsgrid.hpp>
#include "vlasovsolver/vlasovmover.h"
#include "vlasovsolver/vec.h"
#include "definitions.h"
#include "mpiconversion.h"
#include "logger.h"
#include "parameters.h"
#include "readparameters.h"
#include "spatial_cells/spatial_cell_wrapper.hpp"
#include "datareduction/datareducer.h"
#include "sysboundary/sysboundary.h"
#include "vlasovsolver/common_pitch_angle_diffusion.hpp"
#include "fieldtracing/fieldtracing.h"
#include "fieldsolver/fs_common.h"
#include "projects/project.h"
#include "grid.h"
#include "iowrite.h"
#include "ioread.h"
#include "memory_report.h"
#include "object_wrapper.h"
#include "velocity_mesh_parameters.h"
#include "fieldsolver/gridGlue.hpp"
#include "fieldsolver/derivatives.hpp"
#include "vdf_compression/compression.h"
#include <signal.h>
#include "phiprof.hpp"
Include dependency graph for vlasiator.cpp:

Go to the source code of this file.

Functions

ObjectWrappergetObjectWrapper ()
const std::vector< CellID > & getLocalCells ()
void addTimedBarrier (string name)
void computeNewTimeStep (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid, Real &newDt, bool &isChanged)
int simulate (int argn, char *args[])
int main (int argn, char *args[])

Variables

Logger logFile
Logger diagnostic
ObjectWrapper objectWrapper

Function Documentation

◆ addTimedBarrier()

void addTimedBarrier ( string name)

Definition at line 124 of file vlasiator.cpp.

Here is the caller graph for this function:

◆ computeNewTimeStep()

void computeNewTimeStep ( dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
fsgrids::technicalspan technical,
FieldSolverGrid & fsgrid,
Real & newDt,
bool & isChanged )

Definition at line 133 of file vlasiator.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLocalCells()

const std::vector< CellID > & getLocalCells ( )

Get local cell IDs. This function creates a cached copy of the cell ID lists to significantly improve performance. The cell ID cache is recalculated every time the mesh partitioning changes.

Returns
Local cell IDs.

Definition at line 120 of file vlasiator.cpp.

Here is the caller graph for this function:

◆ getObjectWrapper()

ObjectWrapper & getObjectWrapper ( )

Definition at line 112 of file vlasiator.cpp.

Here is the caller graph for this function:

◆ main()

int main ( int argn,
char * args[] )

Definition at line 1453 of file vlasiator.cpp.

Here is the call graph for this function:

◆ simulate()

int simulate ( int argn,
char * args[] )

Definition at line 239 of file vlasiator.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ diagnostic

Logger diagnostic

Definition at line 88 of file vlasiator.cpp.

◆ logFile

Logger logFile

Definition at line 88 of file vlasiator.cpp.

◆ objectWrapper

ObjectWrapper objectWrapper

Definition at line 110 of file vlasiator.cpp.