Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::OldManualHdf5VariableReader Class Reference

Reading variables in HDF5 format via an XML descriptor. More...

Inheritance diagram for Arcane::OldManualHdf5VariableReader:
Collaboration diagram for Arcane::OldManualHdf5VariableReader:

Public Member Functions

 OldManualHdf5VariableReader (const ServiceBuildInfo &sbi)
virtual void build ()
 Build-level construction of the service.
virtual void read (IVariable *var)
virtual void initialize (bool is_start)
 Initializes the reader.
virtual void updateVariables (Real wanted_time)
 Updates the variables for the time wanted_time.
virtual void setBaseDirectoryName (const String &path)
 Sets the path of the directory containing the data.
virtual void setBaseFileName (const String &path)
 Sets the name of the file containing the data.
virtual void setVariables (VariableCollection vars)
 Sets the list of variables that we wish to reread. This call must happen before initialize().
virtual Real2 timeInterval (IVariable *var)
 Time interval of values for the variable var. The data for the variable var exists for the times included between a.x and a.y with a having the value returned.
Public Member Functions inherited from Arcane::BasicService
 ~BasicService () override
 Releases resources.
virtual ISubDomainsubDomain ()
Public Member Functions inherited from Arcane::AbstractService
 ~AbstractService () override
 Destructor.
IServiceInfoserviceInfo () const override
 Access to service information. See IServiceInfo for details.
IBaseserviceParent () const override
 Access to the base interface of main Arcane objects.
IServiceserviceInterface () override
 Returns the low-level IService interface of the service.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const
Public Member Functions inherited from Arcane::IService
virtual ~IService ()
 Releases resources.
Public Member Functions inherited from Arcane::MeshAccessor
 MeshAccessor (ISubDomain *sd)
 MeshAccessor (IMesh *mesh)
 MeshAccessor (const MeshHandle &mesh_handle)
Integer nbCell () const
 Returns the number of cells in the mesh.
Integer nbFace () const
 Returns the number of faces in the mesh.
Integer nbEdge () const
 Returns the number of edges in the mesh.
Integer nbNode () const
 Returns the number of nodes in the mesh.
VariableNodeReal3nodesCoordinates () const
 Returns the coordinates of the mesh nodes.
NodeGroup allNodes () const
 Returns the group containing all nodes.
EdgeGroup allEdges () const
 Returns the group containing all edges.
FaceGroup allFaces () const
 Returns the group containing all faces.
CellGroup allCells () const
 Returns the group containing all cells.
FaceGroup outerFaces () const
 Returns the group containing all boundary faces.
NodeGroup ownNodes () const
 Returns the group containing all nodes specific to this domain.
CellGroup ownCells () const
 Returns the group containing all cells specific to this domain.
FaceGroup ownFaces () const
 Group containing all faces specific to this domain.
EdgeGroup ownEdges () const
 Group containing all edges specific to this domain.
IMeshmesh () const
const MeshHandlemeshHandle () const
Public Member Functions inherited from Arcane::CommonVariables
 CommonVariables (IModule *c)
 Constructs the references of the common variables for the module c.
 CommonVariables (IVariableMng *variable_mng)
 Constructs the references of the common variables for the manager variable_mng.
 CommonVariables (ISubDomain *sd)
 Constructs the references of the common variables for the subdomain sd.
virtual ~CommonVariables ()
 Releases resources.
Int32 globalIteration () const
 Current iteration number.
Real globalTime () const
 Current time.
Real globalOldTime () const
 Previous current time.
Real globalFinalTime () const
 Final time of the simulation.
Real globalDeltaT () const
 Current Delta T.
Real globalCPUTime () const
 CPU time used (in seconds).
Real globalOldCPUTime () const
 Previous CPU time used (in seconds).
Real globalElapsedTime () const
 Clock time (elapsed) used (in seconds).
Real globalOldElapsedTime () const
 Previous clock time (elapsed) used (in seconds).

Private Member Functions

void _load (bool is_start)

Private Attributes

Hdf5VariableReaderHelperm_reader
String m_directory_name
String m_base_file_name

Additional Inherited Members

Public Attributes inherited from Arcane::CommonVariables
VariableScalarInt32 m_global_iteration
 Current iteration.
VariableScalarReal m_global_time
 Current time.
VariableScalarReal m_global_deltat
 Global Delta T.
VariableScalarReal m_global_old_time
 Time previous to the current time.
VariableScalarReal m_global_old_deltat
 Delta T at the time previous to the global time.
VariableScalarReal m_global_final_time
 Final time of the case.
VariableScalarReal m_global_old_cpu_time
 Previous CPU time used (in seconds).
VariableScalarReal m_global_cpu_time
 CPU time used (in seconds).
VariableScalarReal m_global_old_elapsed_time
 Previous clock time used (in seconds).
VariableScalarReal m_global_elapsed_time
 Clock time used (in seconds).
Protected Member Functions inherited from Arcane::BasicService
 BasicService (const ServiceBuildInfo &)
Protected Member Functions inherited from Arcane::AbstractService
 AbstractService (const ServiceBuildInfo &)
 Constructor from a ServiceBuildInfo.
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Member Functions inherited from Arcane::IService
 IService ()
 Constructor.

Detailed Description

Reading variables in HDF5 format via an XML descriptor.

Definition at line 1263 of file Hdf5VariableReader.cc.

Constructor & Destructor Documentation

◆ OldManualHdf5VariableReader()

Arcane::OldManualHdf5VariableReader::OldManualHdf5VariableReader ( const ServiceBuildInfo & sbi)
inline

Definition at line 1269 of file Hdf5VariableReader.cc.

◆ ~OldManualHdf5VariableReader()

Arcane::OldManualHdf5VariableReader::~OldManualHdf5VariableReader ( )
inline

Definition at line 1273 of file Hdf5VariableReader.cc.

Member Function Documentation

◆ _load()

void Arcane::OldManualHdf5VariableReader::_load ( bool is_start)
inlineprivate

Definition at line 1326 of file Hdf5VariableReader.cc.

◆ build()

virtual void Arcane::OldManualHdf5VariableReader::build ( void )
inlinevirtual

Build-level construction of the service.

This method is called right after the constructor.

Reimplemented from Arcane::AbstractService.

Definition at line 1280 of file Hdf5VariableReader.cc.

◆ initialize()

virtual void Arcane::OldManualHdf5VariableReader::initialize ( bool is_start)
inlinevirtual

Initializes the reader.

is_start is true if we are at the start of the calculation.

Implements Arcane::IVariableReader.

Definition at line 1292 of file Hdf5VariableReader.cc.

◆ read()

virtual void Arcane::OldManualHdf5VariableReader::read ( IVariable * var)
inlinevirtual

Definition at line 1286 of file Hdf5VariableReader.cc.

◆ setBaseDirectoryName()

virtual void Arcane::OldManualHdf5VariableReader::setBaseDirectoryName ( const String & path)
inlinevirtual

Sets the path of the directory containing the data.

Implements Arcane::IVariableReader.

Definition at line 1302 of file Hdf5VariableReader.cc.

◆ setBaseFileName()

virtual void Arcane::OldManualHdf5VariableReader::setBaseFileName ( const String & filename)
inlinevirtual

Sets the name of the file containing the data.

Implements Arcane::IVariableReader.

Definition at line 1307 of file Hdf5VariableReader.cc.

◆ setVariables()

virtual void Arcane::OldManualHdf5VariableReader::setVariables ( VariableCollection vars)
inlinevirtual

Sets the list of variables that we wish to reread. This call must happen before initialize().

Implements Arcane::IVariableReader.

Definition at line 1312 of file Hdf5VariableReader.cc.

◆ timeInterval()

virtual Real2 Arcane::OldManualHdf5VariableReader::timeInterval ( IVariable * var)
inlinevirtual

Time interval of values for the variable var. The data for the variable var exists for the times included between a.x and a.y with a having the value returned.

This call is valid only after calling initialize().

Implements Arcane::IVariableReader.

Definition at line 1318 of file Hdf5VariableReader.cc.

◆ updateVariables()

virtual void Arcane::OldManualHdf5VariableReader::updateVariables ( Real wanted_time)
inlinevirtual

Updates the variables for the time wanted_time.

Implements Arcane::IVariableReader.

Definition at line 1297 of file Hdf5VariableReader.cc.

Member Data Documentation

◆ m_base_file_name

String Arcane::OldManualHdf5VariableReader::m_base_file_name
private

Definition at line 1343 of file Hdf5VariableReader.cc.

◆ m_directory_name

String Arcane::OldManualHdf5VariableReader::m_directory_name
private

Definition at line 1342 of file Hdf5VariableReader.cc.

◆ m_reader

Hdf5VariableReaderHelper* Arcane::OldManualHdf5VariableReader::m_reader
private

Definition at line 1341 of file Hdf5VariableReader.cc.


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