Classes | |
| class | GroupFinder |
Public Member Functions | |
| ArcaneBasicVerifierService (const ServiceBuildInfo &sbi) | |
| void | build () override |
| Build-level construction of the service. | |
| void | writeReferenceFile () override |
| Writes the reference file. | |
| void | doVerifFromReferenceFile (bool parallel_sequential, bool compare_ghost) override |
| Performs the verification from the reference file. | |
| Public Member Functions inherited from Arcane::VerifierService | |
| VerifierService (const ServiceBuildInfo &sbi) | |
| IBase * | serviceParent () const override |
| Access to the base interface of main Arcane objects. | |
| IServiceInfo * | serviceInfo () const override |
| Access to service information. See IServiceInfo for details. | |
| IService * | serviceInterface () override |
| Returns the low-level IService interface of the service. | |
| void | setFileName (const String &file_name) override |
| Sets the name of the file containing the reference values. | |
| String | fileName () const override |
| Name of the file containing the reference values. | |
| void | setResultFileName (const String &file_name) override |
| Name of the file containing the results. | |
| String | resultfileName () const override |
| void | setCompareMode (eCompareMode v) override |
| Desired comparison type. | |
| eCompareMode | compareMode () const override |
| void | setSubDir (const String &sub_dir) override |
| Sets the name of the subdirectory containing the reference values. | |
| String | subDir () const override |
| Name of the file containing the reference values. | |
| void | setComputeDifferenceMethod (eVariableComparerComputeDifferenceMethod v) override |
| Method to use for calculating the difference between two values. | |
| eVariableComparerComputeDifferenceMethod | computeDifferenceMethod () const override |
| ISubDomain * | subDomain () |
| Public Member Functions inherited from Arcane::AbstractService | |
| ~AbstractService () override | |
| Destructor. | |
| 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::IVerifierService | |
| virtual | ~IVerifierService ()=default |
| Frees resources. | |
Protected Member Functions | |
| void | _setFormatVersion (Int32 v) |
| Protected Member Functions inherited from Arcane::VerifierService | |
| virtual void | _doVerif (IDataReader *reader, const VariableCollection &variables, bool compare_ghost) |
| virtual void | _getVariables (VariableList variables, bool parallel_sequential) |
| Fills the list of variables that need to be reread in variables. | |
| 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. | |
Private Member Functions | |
| void | _computeFullFileName (bool is_read) |
| void | _doVerifHash (BasicReader *reader, const VariableCollection &variables) |
| void | _writeReferenceFile (const String &file_name) |
Private Attributes | |
| String | m_full_file_name |
| Int32 | m_wanted_format_version = 1 |
Additional Inherited Members | |
| Public Types inherited from Arcane::IVerifierService | |
| enum class | eCompareMode { Values , HashOnly } |
| Comparison mode. More... | |
Definition at line 45 of file ArcaneBasicVerifierService.cc.
|
inlineexplicit |
Definition at line 72 of file ArcaneBasicVerifierService.cc.
|
inlineprivate |
Definition at line 97 of file ArcaneBasicVerifierService.cc.
|
private |
Definition at line 214 of file ArcaneBasicVerifierService.cc.
|
inlineprotected |
Definition at line 85 of file ArcaneBasicVerifierService.cc.
|
private |
Definition at line 116 of file ArcaneBasicVerifierService.cc.
|
inlineoverridevirtual |
Build-level construction of the service.
This method is called right after the constructor.
Reimplemented from Arcane::AbstractService.
Definition at line 79 of file ArcaneBasicVerifierService.cc.
|
overridevirtual |
Performs the verification from the reference file.
| parallel_sequential | if true, indicates that the result of a parallel execution is compared with that of a sequential execution. This option is inactive if the execution is sequential. |
| compare_ghost | if true, indicates that the results are also compared on ghost entities. It is generally normal for the results to be different on ghost entities, because it is not necessary that all variables are synchronized. This is why it is better generally not to perform verification on ghost entities. This option is inactive if the execution is sequential. |
Implements Arcane::IVerifierService.
Definition at line 164 of file ArcaneBasicVerifierService.cc.
References Arcane::VerifierService::_getVariables(), Arcane::ISubDomain::application(), Arcane::IVariableUtilities::filterCommonVariables(), Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::get(), Arcane::IVerifierService::HashOnly, Arcane::ITraceMng::info(), Arcane::IParallelMng::isParallel(), Arcane::makeRef(), Arcane::ISubDomain::parallelMng(), Arcane::IBase::traceMng(), Arcane::IVariableMng::utilities(), Arcane::IVerifierService::Values, and Arcane::ISubDomain::variableMng().
|
overridevirtual |
Writes the reference file.
Implements Arcane::IVerifierService.
Definition at line 152 of file ArcaneBasicVerifierService.cc.
References Arcane::platform::getFileDirName(), and Arcane::platform::recursiveCreateDirectory().
|
private |
Definition at line 92 of file ArcaneBasicVerifierService.cc.
|
private |
Definition at line 93 of file ArcaneBasicVerifierService.cc.