TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Champ_Input_Proto Class Referenceabstract

This is the base class for all the Fields which can be written by a call to Problem::setInputField. More...

#include <Champ_Input_Proto.h>

Inheritance diagram for Champ_Input_Proto:
[legend]
Collaboration diagram for Champ_Input_Proto:
[legend]

Public Member Functions

virtual ~Champ_Input_Proto ()
virtual void getTemplate (TrioField &afield) const =0
virtual void setValue (const TrioField &afield)=0
void setInitialValue (const ArrOfDouble &vo)
virtual void setDoubleValue (const double val)
const Probleme_basez_probleme () const

Protected Member Functions

void read (Entree &is)
 Lecture d'un champ input dans un flot d'entree Factorisation des readOn des differents Champ_input.
void setValueOnTab (const TrioField &afield, DoubleTab &tab)
virtual void set_nb_comp (int i)=0
virtual void set_name (const Nom &name)=0
 OBS_PTR (Probleme_base) mon_pb
 OBS_PTR (Sous_Domaine) mon_sous_domaine

Protected Attributes

bool sous_domaine_ok
ArrOfDouble initial_value_

Detailed Description

This is the base class for all the Fields which can be written by a call to Problem::setInputField.

There are for derived classes for uniform or not / domain or boundary fields.
All are supposed to be time-dependent.

Each Pb_base keeps a list of references to the Champ_Input_Proto it contains.
See also
Champ_Input, Champ_Input_Uniforme, Champ_Front_Input, Champ_Front_Input_Uniforme

Definition at line 39 of file Champ_Input_Proto.h.

Constructor & Destructor Documentation

◆ ~Champ_Input_Proto()

virtual Champ_Input_Proto::~Champ_Input_Proto ( )
inlinevirtual

Definition at line 44 of file Champ_Input_Proto.h.

Member Function Documentation

◆ getTemplate()

virtual void Champ_Input_Proto::getTemplate ( TrioField & afield) const
pure virtual

◆ OBS_PTR() [1/2]

Champ_Input_Proto::OBS_PTR ( Probleme_base )
protected

◆ OBS_PTR() [2/2]

Champ_Input_Proto::OBS_PTR ( Sous_Domaine )
protected

◆ read()

void Champ_Input_Proto::read ( Entree & is)
protected

Lecture d'un champ input dans un flot d'entree Factorisation des readOn des differents Champ_input.

Format: { nb_comp nombre_de_composantes_du_champ nom nom_du_champ probleme nom_du_probleme_base_associe [sous_domaine nom_du_sous_domaine_associe] }

Parameters
(Entree&is) flot d'entree
Returns
le flot d'entre modifie
Exceptions
pasd'accolade ouvrante en debut de format Exception : un des 3 motcles absent, autre motcle non compris
pasd'accolade fermante en fin de jeu de donnee

Definition at line 41 of file Champ_Input_Proto.cpp.

◆ set_name()

virtual void Champ_Input_Proto::set_name ( const Nom & name)
protectedpure virtual

◆ set_nb_comp()

virtual void Champ_Input_Proto::set_nb_comp ( int i)
protectedpure virtual

◆ setDoubleValue()

void Champ_Input_Proto::setDoubleValue ( const double val)
virtual

Reimplemented in Ch_front_input.

Definition at line 145 of file Champ_Input_Proto.cpp.

◆ setInitialValue()

void Champ_Input_Proto::setInitialValue ( const ArrOfDouble & vo)

Definition at line 140 of file Champ_Input_Proto.cpp.

◆ setValue()

virtual void Champ_Input_Proto::setValue ( const TrioField & afield)
pure virtual

◆ setValueOnTab()

void Champ_Input_Proto::setValueOnTab ( const TrioField & afield,
DoubleTab & tab )
protected

Definition at line 117 of file Champ_Input_Proto.cpp.

◆ z_probleme()

const Probleme_base & Champ_Input_Proto::z_probleme ( ) const
inline

Definition at line 49 of file Champ_Input_Proto.h.

Member Data Documentation

◆ initial_value_

ArrOfDouble Champ_Input_Proto::initial_value_
protected

Definition at line 65 of file Champ_Input_Proto.h.

◆ sous_domaine_ok

bool Champ_Input_Proto::sous_domaine_ok
protected

Definition at line 63 of file Champ_Input_Proto.h.


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/Kernel/Champs/Champ_Input_Proto.h
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/v1.9.8/src/Kernel/Champs/Champ_Input_Proto.cpp