TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
mon_main Class Reference

Classe creee et executee par main() et lors d'une execution TRUST a travers 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

Classe creee et executee par main() et lors d'une execution TRUST a travers Python.

Il faut

  • creer une instance mon_main
  • initialiser le parallele
  • appeler dowork(nom_du_cas) (lecture et interpretation du jdd) A cet instant on peut jouer avec les objets crees en python (voir Interprete_bloc::objet_global(nom))
  • detruire l'instance mon_main L'interprete principal conserve ses objets jusqu'a la destruction de l'instance mon_main

Definition at line 38 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 511 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:
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/v1.9.8/src/MAIN/mon_main.h
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/v1.9.8/src/MAIN/mon_main.cpp