Base class for the data verification service between two runs. More...
#include <arcane/core/VerifierService.h>
Classes | |
| struct | DiffInfo |
Public Member Functions | |
| 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. | |
| virtual void | build () |
| Build-level construction 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::IVerifierService | |
| virtual | ~IVerifierService ()=default |
| Frees resources. | |
| virtual void | writeReferenceFile ()=0 |
| Writes the reference file. | |
| virtual void | doVerifFromReferenceFile (bool parallel_sequential, bool compare_ghost)=0 |
| Performs the verification from the reference file. | |
Protected Member Functions | |
| 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 | |
| template<typename ReaderType> | |
| void | _doVerif2 (ReaderType reader, const VariableList &variables, bool compare_ghost) |
Additional Inherited Members | |
| Public Types inherited from Arcane::IVerifierService | |
| enum class | eCompareMode { Values , HashOnly } |
| Comparison mode. More... | |
Base class for the data verification service between two runs.
Definition at line 44 of file VerifierService.h.
|
explicit |
Definition at line 43 of file VerifierService.cc.
|
protectedvirtual |
Definition at line 240 of file VerifierService.cc.
|
private |
Definition at line 100 of file VerifierService.cc.
|
protectedvirtual |
Fills the list of variables that need to be reread in variables.
Definition at line 64 of file VerifierService.cc.
References Arcane::MeshHandle::hasMesh(), Arcane::IK_Unknown, Arcane::IVariable::itemKind(), Arcane::MeshHandle::mesh(), Arcane::IVariable::meshHandle(), Arcane::ISubDomain::parallelMng(), Arcane::IVariable::PExecutionDepend, Arcane::IVariable::property(), Arcane::IVariable::PSubDomainDepend, Arcane::IVariableMng::usedVariables(), and Arcane::ISubDomain::variableMng().
Referenced by Arcane::ArcaneBasicVerifierService::doVerifFromReferenceFile().
|
inlineoverridevirtual |
Implements Arcane::IVerifierService.
Definition at line 91 of file VerifierService.h.
|
inlineoverridevirtual |
Implements Arcane::IVerifierService.
Definition at line 100 of file VerifierService.h.
|
inlineoverridevirtual |
Name of the file containing the reference values.
Implements Arcane::IVerifierService.
Definition at line 82 of file VerifierService.h.
|
inlineoverridevirtual |
Implements Arcane::IVerifierService.
Definition at line 87 of file VerifierService.h.
|
inlineoverridevirtual |
Access to service information. See IServiceInfo for details.
Reimplemented from Arcane::AbstractService.
Definition at line 76 of file VerifierService.h.
|
inlineoverridevirtual |
Returns the low-level IService interface of the service.
Reimplemented from Arcane::AbstractService.
Definition at line 77 of file VerifierService.h.
|
overridevirtual |
Access to the base interface of main Arcane objects.
Reimplemented from Arcane::AbstractService.
Definition at line 55 of file VerifierService.cc.
|
inlineoverridevirtual |
Desired comparison type.
Implements Arcane::IVerifierService.
Definition at line 90 of file VerifierService.h.
|
inlineoverridevirtual |
Method to use for calculating the difference between two values.
Implements Arcane::IVerifierService.
Definition at line 96 of file VerifierService.h.
|
inlineoverridevirtual |
Sets the name of the file containing the reference values.
Implements Arcane::IVerifierService.
Definition at line 81 of file VerifierService.h.
|
inlineoverridevirtual |
Name of the file containing the results.
Implements Arcane::IVerifierService.
Definition at line 86 of file VerifierService.h.
|
inlineoverridevirtual |
Sets the name of the subdirectory containing the reference values.
Implements Arcane::IVerifierService.
Definition at line 93 of file VerifierService.h.
|
inlineoverridevirtual |
Name of the file containing the reference values.
Implements Arcane::IVerifierService.
Definition at line 94 of file VerifierService.h.
|
inline |
Definition at line 113 of file VerifierService.h.
|
private |
Definition at line 123 of file VerifierService.h.
|
private |
Definition at line 124 of file VerifierService.h.
|
private |
Definition at line 120 of file VerifierService.h.
|
private |
Definition at line 121 of file VerifierService.h.
|
private |
Definition at line 119 of file VerifierService.h.
|
private |
Definition at line 122 of file VerifierService.h.
|
private |
Definition at line 118 of file VerifierService.h.