forked from fmihpc/vlasiator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobject_wrapper.h
33 lines (25 loc) · 887 Bytes
/
object_wrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
This file is part of Vlasiator.
Copyright 2014, 2015 Finnish Meteorological Institute
*/
#ifndef OBJECT_WRAPPER_H
#define OBJECT_WRAPPER_H
#include <vector>
#include "definitions.h"
#include "item_storage.h"
#include "object_factory.h"
#include "amr_refinement_criteria.h"
#include "particle_species.h"
#include "projects/project.h"
struct ObjectWrapper {
ObjectWrapper() { }
ObjectFactory<amr_ref_criteria::Base> amrVelRefCriteria; /**< Factory for all known AMR refinement criteria.*/
std::vector<species::Species> particleSpecies; /**< Parameters for all particle species.*/
projects::Project* project; /**< Simulated project.*/
private:
ObjectWrapper(const ObjectWrapper& ow);
ObjectWrapper& operator=(const ObjectWrapper& ow);
};
// Currently defined in vlasiator.cpp
ObjectWrapper& getObjectWrapper();
#endif