|
TrioCFD 1.9.9_beta
TrioCFD documentation
|
Semi-transparent radiation problem. Pb_rayo_semi_transp is a Probleme_base with 4 specific features: More...
#include <Pb_rayo_semi_transp.h>
Public Member Functions | |
| void | terminate () override |
| This method is called once at the end, after any other one. | |
| double | computeTimeStep (bool &stop) const override |
| Compute the value the Problem would like for the next time step. | |
| bool | initTimeStep (double dt) override |
| This method allocates and initializes the unknown and given fields for the future time step. | |
| bool | iterateTimeStep (bool &converged) override |
| In the case solveTimeStep uses an iterative process, this method executes a single iteration. | |
| void | validateTimeStep () override |
| Validates the calculated unknown by moving the present time at the end of the time step. | |
| void | completer () override |
| Completes the equations associated with the problem. | |
| int | nombre_d_equations () const override |
| double | calculer_pas_de_temps () const override |
| Computes the value of the next time step for the problem. | |
| void | mettre_a_jour (double temps) override |
| Performs a time update of the problem. | |
| void | preparer_calcul () override |
| Prepares the computation: initializes the medium parameters and prepares the computation of each equation. | |
| void | associer_sch_tps_base (const Schema_Temps_base &) override |
| Associates a time scheme with the problem. | |
| const Champ_front_base & | flux_radiatif (const Nom &nom_bord) const |
| void | calculer_flux_radiatif () |
| void | discretise_longueur_rayo () |
| void | get_noms_champs_postraitables (Noms &nom, Option opt=NONE) const override |
| void | creer_champ (const Motcle &motlu) override |
| Probleme_base & | probleme_fluide () |
| const Probleme_base & | probleme_fluide () const |
| const double & | valeur_sigma () const |
| void | associer_probleme_fluide (Probleme_base &Pb) |
| void | typer_lire_milieu (Entree &is) override |
| const Equation_base & | equation (int i) const override |
| Equation_base & | equation (int i) override |
| const Equation_base & | get_equation_by_name (const Nom &un_nom) const override |
| (B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_Disc_gen). In that case, the name of the equation is not its type... | |
| Equation_base & | getset_equation_by_name (const Nom &un_nom) override |
| (B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_Disc_gen). In that case, the name of the equation is not its type... Non-const version. This method is notably called when reading the problem. | |
| Eq_rayo_semi_transp & | eq_rayo () |
| const Eq_rayo_semi_transp & | eq_rayo () const |
| Public Member Functions inherited from Probleme_base | |
| ~Probleme_base () | |
| virtual void | associer () |
| Associates the problem with all its equations. | |
| virtual Entree & | lire_equations (Entree &is, Motcle &dernier_mot) |
| Reading of the equations of the problem. | |
| virtual int | verifier () |
| Verifies that the object is complete, coherent, . | |
| const Equation_base & | equation (const Nom &) const |
| Returns the equation whose name is specified (const version). | |
| Equation_base & | equation (const Nom &) |
| Returns the equation whose name is specified. | |
| int | sauvegarder (Sortie &) const override |
| Writing of the problem to file for restart. | |
| int | reprendre (Entree &) override |
| Reading of an input stream (file) for restart after a backup with Probleme_base::sauvegarder(Sortie& os). | |
| int | is_sauvegarde_simple () const |
| const Nom & | restart_filename () const |
| const Nom & | checkpoint_filename () const |
| const Nom & | checkpoint_format () const |
| const Nom & | yaml_filename () const |
| virtual const Milieu_base & | milieu () const |
| Returns the physical medium associated with the problem (const version). | |
| virtual Milieu_base & | milieu () |
| Returns the physical medium associated with the problem. | |
| virtual void | imprimer (Sortie &os) const |
| Prints the equations associated with the problem if the associated time scheme indicates that it is necessary. | |
| int | associer_ (Objet_U &) override |
| override Objet_U::associer_(Objet_U& ob) Associates different objects with the problem by checking | |
| virtual void | associer_domaine (const Domaine &) |
| Associates a domain with the problem. | |
| virtual void | associer_milieu_base (const Milieu_base &) |
| Associates a physical medium with the problem equations. | |
| virtual void | discretiser (Discretisation_base &) |
| Assigns a discretization to the problem Discretizes the Domain associated with the problem with the discretization. | |
| virtual void | discretiser_equations () |
| virtual void | finir () |
| Finalizes post-processing and saves the problem to a file. | |
| std::vector< OWN_PTR(Milieu_base)> & | milieu_vect () |
| const std::vector< OWN_PTR(Milieu_base)> & | milieu_vect () const |
| const Schema_Temps_base & | schema_temps () const |
| Returns the time scheme associated with the problem. | |
| Schema_Temps_base & | schema_temps () |
| Returns the time scheme associated with the problem. | |
| const Domaine & | domaine () const |
| Returns the domain associated with the problem. | |
| Domaine & | domaine () |
| Returns the domain associated with the problem. | |
| bool | has_domaine_dis () const |
| const Domaine_dis_base & | domaine_dis () const |
| Returns the discretized domain associated with the problem (const version). | |
| Domaine_dis_base & | domaine_dis () |
| Returns the discretized domain associated with the problem. | |
| bool | is_dilatable () const |
| const Discretisation_base & | discretisation () const |
| Returns the discretization associated with the problem. | |
| Postraitements & | postraitements () |
| const Postraitements & | postraitements () const |
| void | init_postraitements () |
| Flags the first and last post-processing for each file And initializes the post-processing. | |
| virtual int | expression_predefini (const Motcle &motlu, Nom &expression) |
| const char * | reprise_format_temps () const |
| bool & | reprise_effectuee () |
| bool | reprise_effectuee () const |
| void | creer_champ (const Motcle &motlu) override |
| const Champ_base & | get_champ (const Motcle &nom) const override |
| void | get_noms_champs_postraitables (Noms &nom, Option opt=NONE) const override |
| bool | has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override |
| bool | has_champ (const Motcle &nom) const override |
| virtual const Champ_Generique_base & | get_champ_post (const Motcle &nom) const |
| virtual bool | has_champ_post (const Motcle &nom) const |
| virtual int | comprend_champ_post (const Motcle &nom) const |
| virtual int | a_pour_IntVect (const Motcle &, OBS_PTR(IntVect)&) const |
| virtual void | lire_postraitement_interfaces (Entree &is) |
| virtual void | postraiter_interfaces (const Nom &nom_fich, Sortie &s, const Nom &format, double temps) |
| virtual void | addInputField (Field_base &f) |
| bool | is_coupled () const |
| virtual bool | has_mod_rayo_transp () const |
| int | postraiter (int force=1) override |
| If force=1, performs post-processing regardless of the post-processing frequencies. | |
| int | limpr () const override |
| Asks the time scheme if a print is needed. | |
| int | lsauv () const override |
| Asks the time scheme if a backup is needed. | |
| void | sauver () const override |
| Writes to file for restart (backup). | |
| virtual void | allocation () const final |
| Verifies that the necessary disk space exists. | |
| void | initialize () override |
| This method is called once at the beginning, before any other one of the interface Problem. | |
| const bool & | is_probleme_base_initialized () const |
| void | terminate () override |
| This method is called once at the end, after any other one. | |
| double | presentTime () const override |
| Returns the present time. | |
| double | computeTimeStep (bool &stop) const override |
| Compute the value the Problem would like for the next time step. | |
| bool | initTimeStep (double dt) override |
| This method allocates and initializes the unknown and given fields for the future time step. | |
| bool | solveTimeStep () override |
| For possible re-implementation and unified call from python. | |
| bool | solveTimeStep_pbU () |
| bool | isStationary () const override |
| Tells if the Problem unknowns have changed during the last time step. | |
| std::string | newCompute () override |
| Searches for parametric fields and for each, moves to the next parameter. | |
| void | validateTimeStep () override |
| Validates the calculated unknown by moving the present time at the end of the time step. | |
| void | setStationary (bool flag) override |
| Tells to the Problem that stationary is reached or not. | |
| void | abortTimeStep () override |
| Aborts the resolution of the current time step. | |
| void | resetTime (double time) override |
| Reset the current time of the Problem to a given value. | |
| void | getOutputPointValues (const Nom &name, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, std::vector< double > &vals, int compo) override |
| bool | iterateTimeStep (bool &converged) override |
| In the case solveTimeStep uses an iterative process, this method executes a single iteration. | |
| void | getInputFieldsNames (Noms &noms) const override |
| This method is used to find the names of input fields understood by the Problem. | |
| void | getOutputFieldsNames (Noms &noms) const override |
| bool | updateGivenFields () override |
| WARNING: | |
| double | futureTime () const override |
| Returns the future time (end of current computing interval) This value is valid between initTimeStep and either. | |
| OBS_PTR (Field_base) findInputField(const Nom &name) const override | |
| OBS_PTR (Champ_Generique_base) findOutputField(const Nom &name) const override | |
| void | associer_pb_couple (const Probleme_Couple &pbc) |
| const Probleme_Couple & | get_pb_couple () const |
| Probleme_Couple & | get_pb_couple () |
| LIST (OBS_PTR(SFichier)) &get_set_out_files() const | |
| const Correlation_base & | get_correlation (std::string nom_correlation) const |
| int | has_correlation (std::string nom_correlation) const |
| Public Member Functions inherited from Champs_compris_interface | |
| virtual | ~Champs_compris_interface () |
| virtual bool | has_champ (const Motcle &nom, OBS_PTR(Champ_base)&ref_champ) const =0 |
| Public Member Functions inherited from Probleme_U | |
| virtual void | getInputFieldTemplate (const Nom &name, ICoCo::TrioField &afield) const |
| virtual void | setInputField (const Nom &name, const ICoCo::TrioField &afield) |
| virtual void | getOutputField (const Nom &nameField, ICoCo::TrioField &afield) const |
| virtual void | setInputIntValue (const Nom &name, const int &val) |
| virtual int | getOutputIntValue (const Nom &name) const |
| virtual bool | checkOutputIntEntry (const Nom &name) const |
| double | getOutputPointValues (const Nom &name, const double x, const double y, const double z, int compo) |
| virtual void | setInputDoubleValue (const Nom &name, const double val) |
| virtual void | setInputStringValue (const std::string &name, const std::string &val) |
| virtual std::string | getOutputStringValue (const std::string &name) |
| virtual void | post_initialize () |
| virtual bool | run () |
| This method is a sort of main() for the Problem. It can be used if the problem is not coupled with any other. | |
| virtual bool | runUntil (double time) |
| This method has the same role as the method run, but it stops when reaching the time given in parameter. | |
| void | nommer (const Nom &name) override |
| Assigns a name to the Objet_U. Virtual method to override. | |
| const Nom & | le_nom () const override |
| Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation. | |
| Public Member Functions inherited from Objet_U | |
| ~Objet_U () override | |
| Destructor. Removes the object from the list of objects registered in "memory". | |
| int | numero () const |
| Returns the index of the object in Memoire::data. | |
| virtual int | duplique () const =0 |
| virtual Sortie & | printOn (Sortie &) const |
| Writes the object to an output stream. Virtual method to override. | |
| virtual Entree & | readOn (Entree &) |
| Reads an Objet_U from an input stream. Virtual method to override. | |
| virtual unsigned | taille_memoire () const =0 |
| virtual int | est_egal_a (const Objet_U &) const |
| Returns 1 if x and *this are the same instance (same memory address). | |
| int | get_object_id () const |
| Returns the unique identifier of the object (object_id_). | |
| virtual const Type_info * | get_info () const |
| Returns type information for the Objet_U. | |
| const Nom & | que_suis_je () const |
| Returns the string identifying the class. | |
| const char * | le_type () const |
| Returns the type name of the Objet_U. | |
| virtual int | change_num (const int *const) |
| Changes the internal number of the Objet_U. | |
| virtual int | lire_motcle_non_standard (const Motcle &motlu, Entree &is) |
| Reads non-simple-type parameters of an Objet_U from an input stream. | |
| const Interprete & | interprete () const |
| Interprete & | interprete () |
| Public Member Functions inherited from Process | |
| virtual | ~Process () |
| Public Member Functions inherited from Probleme_base_interface_proto | |
| bool | initTimeStep_impl (Probleme_base &pb, double dt) |
| bool | solveTimeStep_impl (Probleme_base &pb) |
| bool | isStationary_impl (const Probleme_base &pb) const |
| bool | iterateTimeStep_impl (Probleme_base &pb, bool &converged) |
| bool | updateGivenFields_impl (Probleme_base &pb) |
| const bool & | is_probleme_initialized_impl () const |
| void | initialize_impl (Probleme_base &pb) |
| void | terminate_impl (Probleme_base &pb) |
| void | validateTimeStep_impl (Probleme_base &pb) |
| void | abortTimeStep_impl (Probleme_base &pb) |
| void | getInputFieldsNames_impl (const Probleme_base &pb, Noms &noms) const |
| void | getOutputFieldsNames_impl (const Probleme_base &pb, Noms &noms) const |
| void | addInputField_impl (Probleme_base &pb, Field_base &f) |
| double | presentTime_impl (const Probleme_base &pb) const |
| double | computeTimeStep_impl (const Probleme_base &pb, bool &stop) const |
| double | futureTime_impl (const Probleme_base &pb) const |
| void | resetTimeWithDir_impl (Probleme_base &pb, double time, std::string direname) |
| OBS_PTR (Field_base) findInputField_impl(const Probleme_base &pb | |
| OBS_PTR (Champ_Generique_base) findOutputField_impl(const Probleme_base &pb | |
Protected Member Functions | |
| OBS_PTR (Probleme_base) pb_fluide_ | |
| Protected Member Functions inherited from Probleme_base | |
| virtual void | lire_solved_equations (Entree &is) |
| Entree & | read_optional_equations (Entree &is, Motcle &mot) |
| virtual Entree & | lire_correlations (Entree &is) |
| virtual Entree & | lire_radiation_models (Entree &is, Motcle &mot) |
| OBS_PTR (Domaine_dis_base) le_domaine_dis_ | |
| OBS_PTR (Domaine) le_domaine_ | |
| OBS_PTR (Schema_Temps_base) le_schema_en_temps_ | |
| OBS_PTR (Discretisation_base) la_discretisation_ | |
| OBS_PTR (Probleme_Couple) pbc_ | |
| LIST (OBS_PTR(SFichier)) out_files_ | |
| LIST (OBS_PTR(Loi_Fermeture_base)) liste_loi_fermeture_ | |
| LIST (OBS_PTR(Champ_Parametrique)) Champs_Parametriques_ | |
| LIST (OWN_PTR(Equation_base)) eq_opt_ | |
| Protected Member Functions inherited from Objet_U | |
| Objet_U () | |
| Default constructor: assigns a unique identifier to the object (object_id_) and registers the object in "memory" by giving it a num_obj number. | |
| Objet_U (const Objet_U &) | |
| Copy constructor. | |
| const Objet_U & | operator= (const Objet_U &) |
| Assignment operator: does nothing (the number and identifier are preserved). | |
| virtual void | set_param (Param &) const |
| Protected Member Functions inherited from Probleme_base_interface_proto | |
| LIST (OBS_PTR(Field_base)) input_fields | |
Protected Attributes | |
| Eq_rayo_semi_transp | eq_rayo_ |
| Protected Attributes inherited from Probleme_base | |
| Save_Restart | save_restart_ |
| std::vector< OWN_PTR(Milieu_base)> | le_milieu_ |
| Postraitements | les_postraitements_ |
| std::map< std::string, OWN_PTR(Correlation_base)> | correlations_ |
| Protected Attributes inherited from Probleme_U | |
| Nom | nom_ |
| ScalarRegister | reg_ |
| std::map< std::string, std::string > | str_params_ |
| Protected Attributes inherited from Probleme_base_interface_proto | |
| bool | initialized = false |
| bool | terminated = false |
| bool | dt_defined = false |
| bool | dt_validated = false |
Static Protected Attributes | |
| static constexpr double | sigma_ = 5.67e-8 |
Additional Inherited Members | |
| Static Public Member Functions inherited from Objet_U | |
| static const Nom & | nom_du_cas () |
| Returns a constant reference to the case name. This method is static. | |
| static Nom & | get_set_nom_du_cas () |
| Returns a non-constant reference to the case name (to allow modification). This method is static. | |
| static const Type_info * | info () |
| Returns type information for the Objet_U (static version). | |
| static const Objet_U & | self_cast (const Objet_U &) |
| Method added for casting in Python. | |
| static Objet_U & | self_cast (Objet_U &) |
| Static Public Member Functions inherited from Process | |
| static int | me () |
| Returns the rank of the local processor in the current communication group. See Comm_Group::rank() and PE_Groups::current_group(). | |
| static int | nproc () |
| Returns the number of processors in the current group. See Comm_Group::nproc() and PE_Groups::current_group(). | |
| static bool | is_parallel () |
| static void | exit (int exit_code=-1) |
| Exit routine for TRUST within a Kokkos region. | |
| static double | mp_sum (double) |
| Computes the sum of x over all processors in the current group. | |
| static float | mp_sum (float) |
| static trustIdType | mp_sum (trustIdType) |
| Computes the sum of x over all processors in the current group. | |
| static double | mp_max (double) |
| static double | mp_min (double) |
| static int | mp_max (int) |
| Returns the maximum value of x across all processors in the current group. | |
| static int | mp_min (int) |
| Returns the minimum value of x across all processors in the current group. | |
| static double | mp_sum_as_double (int v) |
| static trustIdType | mppartial_sum (trustIdType i) |
| Computes the partial sum of x over processors 0 to me()-1 (returns 0 on processor 0). | |
| template<typename T> | |
| static void | mp_sum_for_each (T &arg1, T &arg2) |
| C++14 compatible mp_sum_for_each: combine multiple mp_sum calls into one collective operation Usage: mp_sum_for_each(a, b); mp_sum_for_each(a, b, c); mp_sum_for_each(a, b, c, d); mp_sum_for_each(a, b, c, d, e); All arguments must be of the same type (double or int) and are modified in place. Supports 2-5 parameters. | |
| template<typename T> | |
| static void | mp_sum_for_each (T &arg1, T &arg2, T &arg3) |
| template<typename T> | |
| static void | mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4) |
| template<typename T> | |
| static void | mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5) |
| template<typename T> | |
| static void | mp_max_for_each (T &arg1, T &arg2) |
| C++14 compatible mp_max_for_each: combine multiple mp_max calls into one collective operation. | |
| template<typename T> | |
| static void | mp_max_for_each (T &arg1, T &arg2, T &arg3) |
| template<typename T> | |
| static void | mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4) |
| template<typename T> | |
| static void | mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5) |
| template<typename T> | |
| static void | mp_min_for_each (T &arg1, T &arg2) |
| C++14 compatible mp_min_for_each: combine multiple mp_min calls into one collective operation. | |
| template<typename T> | |
| static void | mp_min_for_each (T &arg1, T &arg2, T &arg3) |
| template<typename T> | |
| static void | mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4) |
| template<typename T> | |
| static void | mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5) |
| template<typename _TYPE_> | |
| static void | mp_sum_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1) |
| template<typename _TYPE_> | |
| static void | mp_max_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1) |
| template<typename _TYPE_> | |
| static void | mp_min_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1) |
| static bool | mp_and (bool) |
| Computes the logical AND of b across all processors in the current group. | |
| static bool | mp_or (bool) |
| static int | check_int_overflow (trustIdType) |
| static int | je_suis_maitre () |
| Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise. | |
| static KOKKOS_INLINE_FUNCTION void | Kokkos_exit (const char *) |
| Exit routine for TRUST within a Kokkos region. | |
| static int | node_master () |
| Returns 1 if on the NUMA node master processor, 0 otherwise. | |
| static void | exit (const Nom &message, int exit_code=-1) |
| static bool | is_sequential () |
| static void | barrier () |
| Synchronizes all processors in the current group (waits until all processors have reached the barrier). | |
| static void | abort () |
| Abort routine for TRUST on a fatal error. | |
| static Sortie & | Journal (int message_level=0) |
| Returns a static Sortie object used as an event journal. | |
| static double | ram_processeur () |
| static void | imprimer_ram_totale (int all_process=0) |
| static bool | force_single_file (const int ranks, const Nom &filename) |
| Public Attributes inherited from Probleme_base_interface_proto | |
| const Nom &name | const |
| Static Public Attributes inherited from Objet_U | |
| static double | precision_geom = 1e-10 |
| static constexpr bool | HAS_POINTER = false |
| static int | dimension =0 |
| static int | format_precision_geom =11 |
| static int | axi =0 |
| static int | bidim_axi =0 |
| static int | DEACTIVATE_SIGINT_CATCH =0 |
| static Type_info | info_obj |
| static bool | disable_TU =false |
| Flag to disable or not the writing of the .TU files. | |
| static bool | stat_per_proc_perf_log =false |
| Flag to enable the writing of the statistics detailed per processor in _csv.TU file. | |
| Static Public Attributes inherited from Process | |
| static int | exception_sur_exit =0 |
| static int | multiple_files =5120 |
Semi-transparent radiation problem. Pb_rayo_semi_transp is a Probleme_base with 4 specific features:
Definition at line 34 of file Pb_rayo_semi_transp.h.
|
inline |
Definition at line 71 of file Pb_rayo_semi_transp.h.
|
overridevirtual |
Associates a time scheme with the problem.
Then associates the time scheme with all the equations of the problem.
| (Schema_Temps_base& | un_schema_en_temps) the time scheme to associate |
Reimplemented from Probleme_base.
Definition at line 55 of file Pb_rayo_semi_transp.cpp.
| void Pb_rayo_semi_transp::calculer_flux_radiatif | ( | ) |
Definition at line 163 of file Pb_rayo_semi_transp.cpp.
|
inlineoverridevirtual |
Computes the value of the next time step for the problem.
Computes the minimum of the time steps of the equations associated with the problem.
Reimplemented from Probleme_base.
Definition at line 53 of file Pb_rayo_semi_transp.h.
|
inlineoverridevirtual |
Completes the equations associated with the problem.
Filling of references, delegated to the equations.
Reimplemented from Probleme_base.
Definition at line 50 of file Pb_rayo_semi_transp.h.
|
inlineoverridevirtual |
Compute the value the Problem would like for the next time step.
This value will not necessarily be used at the call of initTimeStep, but it is a hint. This method may use all the internal state of the Problem.
| (stop) | Does the Problem want to stop ? |
| WrongContext |
Reimplemented from Probleme_U.
Definition at line 40 of file Pb_rayo_semi_transp.h.
Implements Champs_compris_interface.
Definition at line 66 of file Pb_rayo_semi_transp.h.
| void Pb_rayo_semi_transp::discretise_longueur_rayo | ( | ) |
Definition at line 67 of file Pb_rayo_semi_transp.cpp.
|
inline |
Definition at line 98 of file Pb_rayo_semi_transp.h.
|
inline |
Definition at line 99 of file Pb_rayo_semi_transp.h.
|
inlineoverridevirtual |
Implements Probleme_base.
Definition at line 74 of file Pb_rayo_semi_transp.h.
|
inlineoverridevirtual |
Implements Probleme_base.
Definition at line 80 of file Pb_rayo_semi_transp.h.
| const Champ_front_base & Pb_rayo_semi_transp::flux_radiatif | ( | const Nom & | nom_bord | ) | const |
Definition at line 189 of file Pb_rayo_semi_transp.cpp.
|
inlineoverridevirtual |
(B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_Disc_gen). In that case, the name of the equation is not its type...
Reimplemented from Probleme_base.
Definition at line 86 of file Pb_rayo_semi_transp.h.
|
overridevirtual |
Implements Champs_compris_interface.
Definition at line 61 of file Pb_rayo_semi_transp.cpp.
|
inlineoverridevirtual |
(B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_Disc_gen). In that case, the name of the equation is not its type... Non-const version. This method is notably called when reading the problem.
Reimplemented from Probleme_base.
Definition at line 92 of file Pb_rayo_semi_transp.h.
|
overridevirtual |
This method allocates and initializes the unknown and given fields for the future time step.
The value of the interval is imposed through the parameter dt. In case of error, returns false.
| (double | dt) the time interval to allocate |
| WrongContext,WrongArgument |
Reimplemented from Probleme_U.
Definition at line 33 of file Pb_rayo_semi_transp.cpp.
|
overridevirtual |
In the case solveTimeStep uses an iterative process, this method executes a single iteration.
It is thus possible to modify the given fields between iterations. converged is set to true if the process has converged, ie if the unknown fields are solution to the problem on the next time step. Otherwise converged is set to false. The return value indicates if the convergence process behaves normally. If false, the Problem wishes to abort the time step resolution.
| (bool& | converged) It is a return value : true if the process has converged, false otherwise. |
| WrongContext |
Reimplemented from Probleme_U.
Definition at line 38 of file Pb_rayo_semi_transp.cpp.
|
inlineoverridevirtual |
Performs a time update of the problem.
Performs the update on all equations of the problem.
| (double | temps) the time step for the update |
Reimplemented from Probleme_base.
Definition at line 56 of file Pb_rayo_semi_transp.h.
|
inlineoverridevirtual |
Implements Probleme_base.
Definition at line 51 of file Pb_rayo_semi_transp.h.
|
protected |
|
overridevirtual |
Prepares the computation: initializes the medium parameters and prepares the computation of each equation.
Reimplemented from Probleme_base.
Definition at line 115 of file Pb_rayo_semi_transp.cpp.
|
inline |
Definition at line 68 of file Pb_rayo_semi_transp.h.
|
inline |
Definition at line 69 of file Pb_rayo_semi_transp.h.
|
inlineoverridevirtual |
This method is called once at the end, after any other one.
It frees the memory and saves anything that needs to be saved.
| WrongContext |
Reimplemented from Probleme_U.
Definition at line 38 of file Pb_rayo_semi_transp.h.
|
overridevirtual |
Reimplemented from Probleme_base.
Definition at line 156 of file Pb_rayo_semi_transp.cpp.
|
inline |
Definition at line 70 of file Pb_rayo_semi_transp.h.
|
overridevirtual |
Validates the calculated unknown by moving the present time at the end of the time step.
This method is allowed to free past values of the unknown and given fields.
| WrongContext |
Reimplemented from Probleme_U.
Definition at line 44 of file Pb_rayo_semi_transp.cpp.
|
protected |
Definition at line 103 of file Pb_rayo_semi_transp.h.
|
staticconstexprprotected |
Definition at line 102 of file Pb_rayo_semi_transp.h.