MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
globalvariables.h
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#ifndef MAIA_GLOBAL_VARIABLES_
8#define MAIA_GLOBAL_VARIABLES_
15#include <ostream>
16#include <vector>
17#include "COMM/globalmpiinfo.h"
18#include "COMM/mpioverride.h"
19#include "INCLUDE/maiatypes.h"
20#include "UTIL/dlbtimer.h"
21
23class InfoOutFile;
24class GenericObject;
27// Memory allocation
28namespace maia {
29namespace alloc {
30extern std::vector<GenericObject*> g_allocatedObjects;
33} // namespace alloc
34} // namespace maia
36extern MInt g_timeSteps;
37extern MInt globalTimeStep;
41// Temporary variable for use with true multi-solver simulations
42// Warning: Will be removed in the near future once all components of MAIA can handle multi-solver simulations
44
45
46namespace maia {
47namespace dlb {
49} // namespace dlb
50} // namespace maia
52// other timers
54
56// timer collections
57extern std::vector<std::pair<MString, MInt>> g_tc_geometry;
58
60// Logging
61#ifndef PVPLUGIN
62extern InfoOutFile m_log;
64#else
65extern std::ostream& m_log;
66extern std::ostream& maia_res;
67#endif
68extern std::ostream cerr0;
70
71#endif
Controller class for all DLB timers.
Definition: dlbtimer.h:223
class containing a generic object
Definition: genericobject.h:37
Class to create a create an output stream for a writable file, using either MPI I/O or a physical fil...
Definition: infoout.h:217
MInt g_timeSteps
std::ostream cerr0
MInt g_restartTimeStep
MBool g_splitMpiComm
InfoOutFile m_log
MInt g_t_readGeomFile
MBool g_multiSolverGrid
InfoOutFile maia_res
MBool g_dynamicLoadBalancing
std::vector< std::pair< MString, MInt > > g_tc_geometry
MInt globalTimeStep
int32_t MInt
Definition: maiatypes.h:62
int64_t MLong
Definition: maiatypes.h:64
bool MBool
Definition: maiatypes.h:58
std::vector< GenericObject * > g_allocatedObjects
MLong g_allocatedBytes
MLong g_maxAllocatedBytes
DlbTimerController g_dlbTimerController
Namespace for auxiliary functions/classes.