MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
environment.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 ENVIRONMENT_H
8#define ENVIRONMENT_H
9
10#include "INCLUDE/maiatypes.h"
11
12class Application;
13class Scratch;
14
22 public:
23 Environment(int, char**);
25
26 MInt run();
27 MInt end();
28 static MInt m_argc;
29 static MChar** m_argv;
30
31
32 private:
35 void parseCommandline();
36 static void printStartupInformation();
37
38 MString m_propertyFileInput = "properties.toml";
39};
40
41#endif
Manages the initialisation of the solvers, the methods depending to the solvers and the start of the ...
Definition: application.h:37
Environment for the program.
Definition: environment.h:21
void parseCommandline()
Reads out the options that where used by the program call.
static void printStartupInformation()
Print startup summary of MAIA.
Environment(int, char **)
static MChar ** m_argv
Definition: environment.h:29
Application * mApplication
Definition: environment.h:33
MInt run()
Runs the Environment, makes the Application run.
MInt end()
Ends the Environment.
~Environment()
Destructor.
MString m_propertyFileInput
Definition: environment.h:38
Scratch * mScratch
Definition: environment.h:34
static MInt m_argc
Reads the name of the property-file and creates a new Application.
Definition: environment.h:28
This class holds the complete scratch space.
Definition: scratch.h:91
int32_t MInt
Definition: maiatypes.h:62
std::basic_string< char > MString
Definition: maiatypes.h:55
char MChar
Definition: maiatypes.h:56