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

Reading variables in HDF5 format. More...

Inheritance diagram for Arcane::Hdf5VariableReaderHelper:
Collaboration diagram for Arcane::Hdf5VariableReaderHelper:

Classes

class  TimeVariableInfoBase

Public Member Functions

 Hdf5VariableReaderHelper (IMesh *mesh, const String &xml_file_name)
void open (bool is_start)
 Opens the file containing the reading information.
void readInit ()
 Reads the information.
void readAndUpdateTimeVariables (Real wanted_time)
 Reads and updates time variables.
void notifyRestore ()
 Notification of a rollback.
Public Member Functions inherited from Arcane::Hdf5VariableReaderHelperBase
 Hdf5VariableReaderHelperBase (IMesh *mesh)
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

Private Member Functions

void _readAndUpdateVariable (TimeVariableInfoBase *vi, Real wanted_time, HFile &hfile)

Private Attributes

String m_xml_file_name
ScopedPtrT< IXmlDocumentHolderm_xml_document_holder
UniqueArray< Hdf5VariableInfoBase * > m_init_variables
UniqueArray< TimeVariableInfoBase * > m_time_variables

Additional Inherited Members

Protected Member Functions inherited from Arcane::Hdf5VariableReaderHelperBase
void _readStandardArray (IVariable *var, RealArray &buffer, hid_t file_id, const String &path)
void _readVariable (IVariable *var, RealArray &buffer, HFile &hfile, const String &path)
void _checkValidVariable (IVariable *var)
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Attributes inherited from Arcane::Hdf5VariableReaderHelperBase
IMeshm_mesh
Hdf5Utils::StandardTypes m_types
String m_hdf5_file_name
bool m_is_verbose

Detailed Description

Reading variables in HDF5 format.

Definition at line 223 of file Hdf5VariableReader.cc.

Constructor & Destructor Documentation

◆ Hdf5VariableReaderHelper()

Arcane::Hdf5VariableReaderHelper::Hdf5VariableReaderHelper ( IMesh * mesh,
const String & xml_file_name )

Definition at line 316 of file Hdf5VariableReader.cc.

◆ ~Hdf5VariableReaderHelper()

Arcane::Hdf5VariableReaderHelper::~Hdf5VariableReaderHelper ( )

Definition at line 326 of file Hdf5VariableReader.cc.

Member Function Documentation

◆ _readAndUpdateVariable()

void Arcane::Hdf5VariableReaderHelper::_readAndUpdateVariable ( TimeVariableInfoBase * vi,
Real wanted_time,
HFile & hfile )
private

Definition at line 423 of file Hdf5VariableReader.cc.

◆ notifyRestore()

void Arcane::Hdf5VariableReaderHelper::notifyRestore ( )

Notification of a rollback.

Definition at line 533 of file Hdf5VariableReader.cc.

References Arcane::Hdf5VariableReaderHelper::TimeVariableInfoBase::m_current_index.

◆ open()

void Arcane::Hdf5VariableReaderHelper::open ( bool is_start)

◆ readAndUpdateTimeVariables()

void Arcane::Hdf5VariableReaderHelper::readAndUpdateTimeVariables ( Real wanted_time)

Reads and updates time variables.

Definition at line 519 of file Hdf5VariableReader.cc.

◆ readInit()

void Arcane::Hdf5VariableReaderHelper::readInit ( )

Reads the information.

Definition at line 406 of file Hdf5VariableReader.cc.

References Arcane::IVariable::data(), Arcane::IVariable::fullName(), and Arcane::TraceAccessor::info().

Here is the call graph for this function:

Member Data Documentation

◆ m_init_variables

UniqueArray<Hdf5VariableInfoBase*> Arcane::Hdf5VariableReaderHelper::m_init_variables
private

Definition at line 301 of file Hdf5VariableReader.cc.

◆ m_time_variables

UniqueArray<TimeVariableInfoBase*> Arcane::Hdf5VariableReaderHelper::m_time_variables
private

Definition at line 302 of file Hdf5VariableReader.cc.

◆ m_xml_document_holder

ScopedPtrT<IXmlDocumentHolder> Arcane::Hdf5VariableReaderHelper::m_xml_document_holder
private

Definition at line 300 of file Hdf5VariableReader.cc.

◆ m_xml_file_name

String Arcane::Hdf5VariableReaderHelper::m_xml_file_name
private

Definition at line 298 of file Hdf5VariableReader.cc.


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