TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Postraitement_FTD_base.h
1/****************************************************************************
2* Copyright (c) 2026, CEA
3* All rights reserved.
4*
5* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9*
10* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
11* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
12* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13*
14*****************************************************************************/
15
16#ifndef Postraitement_FTD_base_included
17#define Postraitement_FTD_base_included
18
19#include <Postraitement.h>
20#include <TRUST_Ref.h>
21#include <vector>
22
24
26{
27 Declare_base(Postraitement_FTD_base);
28public:
29 int lire_motcle_non_standard(const Motcle&, Entree&) override;
30 int write_extra_mesh() override;
31 void postprocess_field_values() override;
32
33protected:
35 int filter_out_virtual_fa7(IntTab& new_fa7);
36
37 void filter_out_array(const DoubleTab& dtab, DoubleTab& new_dtab) const;
39
40 virtual void lire_entete_bloc_interface(Entree& is);
41 virtual void register_interface_field(const Motcle& nom_champ, const Motcle& loc_lu);
42
43 // L'equation de transport contenant les interfaces a postraiter
44 OBS_PTR(Transport_Interfaces_FT_Disc) refequation_interfaces;
45
46 // Quels champs d'interface faut-il postraiter ?
48
49 Nom id_domaine_; // INTERFACES or PARTICULES - computed in ecrire_maillage_ft_disc()
50
51 // Renumbering array for interface facettes to keep only real facettes - updated at each time step!
52 std::vector<int> renum_;
53 bool no_virtuals_ = false; // whether to exclude virtual elements when writing out interface mesh and fields.
54};
55
56#endif /* Postraitement_FTD_base_included */
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
Un tableau d'objets de la classe Motcle.
Definition Motcle.h:63
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
friend class Entree
Definition Objet_U.h:76
virtual void register_interface_field(const Motcle &nom_champ, const Motcle &loc_lu)
void filter_out_array(const DoubleTab &dtab, DoubleTab &new_dtab) const
int filter_out_virtual_fa7(IntTab &new_fa7)
Build a reduced version of the facettes array, excluding virtual ones Also update the internal renumb...
void lire_champs_interface(Entree &)
lecture de la liste de champs aux interfaces a postraiter
int ecrire_maillage_ft_disc()
Write the Maillage_FT_Disc object into a LATA file in V2 format.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Lecture des parametres de type non simple d'un objet_U a partir d'un flot d'entree.
OBS_PTR(Transport_Interfaces_FT_Disc) refequation_interfaces
int write_extra_mesh() override
Override. Add the interfaces to the file output.
virtual void lire_entete_bloc_interface(Entree &is)
Postraitement()
Constructeur par defaut.