TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
mon_main Class Reference

Class created and run by main() and during a TRUST execution through Python. More...

#include <mon_main.h>

Public Member Functions

 mon_main (int verbose_level=9, bool journal_master=false, Nom log_directory="", bool apply_verification=true, bool disable_stop=false)
 ~mon_main ()
void init_parallel (const int argc, char **argv, bool with_mpi, bool check_enabled=false, bool with_petsc=true)
void finalize ()
void dowork (const Nom &nom_du_cas)

Detailed Description

Class created and run by main() and during a TRUST execution through Python.

Usage:

  • create a mon_main instance
  • initialise the parallel layer
  • call dowork(nom_du_cas) (read and interpret the dataset) At this point Python objects can be manipulated (see Interprete_bloc::objet_global(nom))
  • destroy the mon_main instance The main interpreter keeps its objects until the mon_main instance is destroyed.

Definition at line 37 of file mon_main.h.

Constructor & Destructor Documentation

◆ mon_main()

mon_main::mon_main ( int verbose_level = 9,
bool journal_master = false,
Nom log_directory = "",
bool apply_verification = true,
bool disable_stop = false )

Definition at line 70 of file mon_main.cpp.

◆ ~mon_main()

mon_main::~mon_main ( )

Definition at line 509 of file mon_main.cpp.

Member Function Documentation

◆ dowork()

void mon_main::dowork ( const Nom & nom_du_cas)

Definition at line 343 of file mon_main.cpp.

◆ finalize()

void mon_main::finalize ( )

Definition at line 280 of file mon_main.cpp.

◆ init_parallel()

void mon_main::init_parallel ( const int argc,
char ** argv,
bool with_mpi,
bool check_enabled = false,
bool with_petsc = true )

Definition at line 198 of file mon_main.cpp.


The documentation for this class was generated from the following files: