WARPXM v1.10.0
Loading...
Searching...
No Matches
diagnostic.h
Go to the documentation of this file.
1#ifndef WXM_DIAGNOSTIC_H
2#define WXM_DIAGNOSTIC_H
3
5
6namespace wxm
7{
8namespace diagnostics
9{
18{
19public:
20 Diagnostic(const WmConstOpaquePtr& parent_solver) : WmHostAction(parent_solver)
21 {
22 }
23
24 void setup(const WxCryptSet& wxc) override;
25
31 virtual void runDiagnostic(std::vector<double>& res) = 0;
32
38 {
39 return WxStepperStatus();
40 }
41};
42} // namespace diagnostics
43} // namespace wxm
44
45#endif
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
The WmHostAction class is a base class for sub-solvers in the WARPXM system.
Definition: wmhostaction.h:35
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Represents important parameters for the efficacy of a completing simulation step.
Definition: wxstepperstatus.h:19
A simulation diagnostic.
Definition: diagnostic.h:18
Diagnostic(const WmConstOpaquePtr &parent_solver)
Definition: diagnostic.h:20
void setup(const WxCryptSet &wxc) override
Setup object using supplied crypset.
WxStepperStatus step() override
Default is a No-op since Diagnostics should implement the runDiagnostic method.
Definition: diagnostic.h:37
virtual void runDiagnostic(std::vector< double > &res)=0
Run the diagnostic.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8