Protection/reprise au format ArcaneHdf5. More...
Public Member Functions | |
| ArcaneHdf5CheckpointService2 (const ServiceBuildInfo &sbi) | |
| virtual IDataWriter * | dataWriter () |
| Returns the associated writer. | |
| virtual IDataReader * | dataReader () |
| Returns the associated reader. | |
| virtual void | notifyBeginWrite () |
| Notifies that a checkpoint is going to be written with the current parameters. | |
| virtual void | notifyEndWrite () |
| Notifies that a checkpoint has just been written. | |
| virtual void | notifyBeginRead () |
| Notifies that a protection will be read with current parameters. | |
| virtual void | notifyEndRead () |
| Notifies that a protection has just been read. | |
| virtual void | close () |
| Closes the checkpoints. | |
| virtual String | readerServiceName () const |
| Name of the reader service associated with this writer. | |
| Public Member Functions inherited from Arcane::ArcaneHdf5ReaderWriterObject | |
| ArcaneHdf5ReaderWriterObject (const Arcane::ServiceBuildInfo &sbi) | |
| Constructeur. | |
| virtual | ~ArcaneHdf5ReaderWriterObject () |
| Destructeur. | |
| CaseOptionsHdf5ReaderWriter * | options () const |
| Options du jeu de données du service. | |
| Public Member Functions inherited from Arcane::CheckpointService | |
| CheckpointService (const ServiceBuildInfo &sbi) | |
| void | build () override |
| Build-level construction of the service. | |
| void | setFileName (const String &file_name) override |
| Sets the name of the checkpoint file. | |
| String | fileName () const override |
| Name of the checkpoint file. | |
| void | setCheckpointTimes (RealConstArrayView times) override |
| Sets the checkpoint times. | |
| void | setCurrentTimeAndIndex (Real current_time, Integer current_index) override |
| Sets the time and index of the protection to read. | |
| RealConstArrayView | checkpointTimes () const override |
| Checkpoint times. | |
| String | readerMetaData () const override |
| Metadata for the reader associated with this writer. | |
| void | setReaderMetaData (const String &s) override |
| Metadata associated with this reader. | |
| void | setBaseDirectoryName (const String &dirname) override |
| Sets the name of the checkpoint base directory. | |
| String | baseDirectoryName () const override |
| Name of the checkpoint base directory. | |
| Integer | currentIndex () const |
| Real | currentTime () const |
| Public Member Functions inherited from Arcane::BasicService | |
| ~BasicService () override | |
| Releases resources. | |
| virtual ISubDomain * | subDomain () |
| Public Member Functions inherited from Arcane::AbstractService | |
| ~AbstractService () override | |
| Destructor. | |
| IServiceInfo * | serviceInfo () const override |
| Access to service information. See IServiceInfo for details. | |
| IBase * | serviceParent () const override |
| Access to the base interface of main Arcane objects. | |
| IService * | serviceInterface () 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. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () 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. | |
| VariableNodeReal3 & | nodesCoordinates () 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. | |
| IMesh * | mesh () const |
| const MeshHandle & | meshHandle () 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). | |
| Public Member Functions inherited from Arcane::ICheckpointWriter | |
| virtual | ~ICheckpointWriter ()=default |
| Releases resources. | |
| Public Member Functions inherited from Arcane::ICheckpointReader | |
| virtual | ~ICheckpointReader ()=default |
| Frees resources. | |
Private Member Functions | |
| String | _defaultFileName () |
| Directory | _defaultDirectory () |
| void | _parseMetaData (String meta_data) |
Private Attributes | |
| Integer | m_write_index |
| Hdf5ReaderWriter * | m_writer |
| Hdf5ReaderWriter * | m_reader |
| Integer | m_fileset_size |
| Integer | m_index_modulo |
Additional Inherited Members | |
| Static Public Member Functions inherited from Arcane::ArcaneHdf5ReaderWriterObject | |
| template<typename ServiceClassType> | |
| static void | fillServiceInfo (Arcane::ServiceInfo *si) |
| 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. | |
Protection/reprise au format ArcaneHdf5.
Definition at line 825 of file Hdf5ReaderWriter.cc.
|
inline |
Definition at line 830 of file Hdf5ReaderWriter.cc.
|
inlineprivate |
Definition at line 889 of file Hdf5ReaderWriter.cc.
|
inlineprivate |
Definition at line 859 of file Hdf5ReaderWriter.cc.
|
private |
Definition at line 899 of file Hdf5ReaderWriter.cc.
|
inlinevirtual |
Closes the checkpoints.
Implements Arcane::ICheckpointWriter.
Definition at line 846 of file Hdf5ReaderWriter.cc.
|
inlinevirtual |
Returns the associated reader.
Implements Arcane::ICheckpointReader.
Definition at line 840 of file Hdf5ReaderWriter.cc.
|
inlinevirtual |
Returns the associated writer.
Implements Arcane::ICheckpointWriter.
Definition at line 839 of file Hdf5ReaderWriter.cc.
|
virtual |
Notifies that a protection will be read with current parameters.
Implements Arcane::ICheckpointReader.
Definition at line 928 of file Hdf5ReaderWriter.cc.
References Arcane::Directory::file(), Arcane::CheckpointService::fileName(), Arcane::TraceAccessor::info(), Arcane::CheckpointService::readerMetaData(), Arcane::CheckpointService::setFileName(), and Arcane::StringBuilder::toString().
|
virtual |
Notifies that a checkpoint is going to be written with the current parameters.
Implements Arcane::ICheckpointWriter.
Definition at line 975 of file Hdf5ReaderWriter.cc.
References Arcane::CheckpointService::checkpointTimes(), Arcane::Directory::file(), Arcane::CheckpointService::fileName(), Arcane::ArcaneHdf5ReaderWriterObject::options(), and Arcane::CheckpointService::setFileName().
|
virtual |
Notifies that a protection has just been read.
Implements Arcane::ICheckpointReader.
Definition at line 965 of file Hdf5ReaderWriter.cc.
|
virtual |
Notifies that a checkpoint has just been written.
Implements Arcane::ICheckpointWriter.
Definition at line 1019 of file Hdf5ReaderWriter.cc.
References Arcane::CheckpointService::setReaderMetaData().
|
inlinevirtual |
Name of the reader service associated with this writer.
Implements Arcane::ICheckpointWriter.
Definition at line 847 of file Hdf5ReaderWriter.cc.
|
private |
Definition at line 854 of file Hdf5ReaderWriter.cc.
|
private |
Definition at line 855 of file Hdf5ReaderWriter.cc.
|
private |
Definition at line 853 of file Hdf5ReaderWriter.cc.
|
private |
Definition at line 851 of file Hdf5ReaderWriter.cc.
|
private |
Definition at line 852 of file Hdf5ReaderWriter.cc.