MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / abort

Class abort

src/functionObjects/utilities/abort/abort.H:61–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59\*---------------------------------------------------------------------------*/
60
61class abort
62:
63 public functionObject
64{
65public:
66
67 // Public data
68
69 //- Enumeration defining the type of action
70 enum actionType
71 {
72 noWriteNow, //!< stop immediately without writing data
73 writeNow, //!< write data and stop immediately
74 nextWrite //!< stop the next time data are written
75 };
76
77private:
78
79 // Private data
80
81 //- Reference to the Time
82 const Time& time_;
83
84 //- The fully-qualified name of the abort file
85 fileName abortFile_;
86
87 //- Action type names
88 static const NamedEnum<actionType, 3> actionTypeNames_;
89
90 //- The type of action
91 actionType action_;
92
93
94 // Private Member Functions
95
96 //- Remove abort file.
97 void removeFile() const;
98
99 //- Disallow default bitwise copy construct
100 abort(const abort&);
101
102 //- Disallow default bitwise assignment
103 void operator=(const abort&);
104
105
106public:
107
108 //- Runtime type information
109 TypeName("abort");
110
111
112 // Constructors
113
114 //- Construct from Time and dictionary
115 abort
116 (
117 const word& name,
118 const Time& runTime,

Callers 15

readHeaderFunction · 0.50
fvMatrix.CFile · 0.50
CoEulerDdtScheme.CFile · 0.50
SLTSDdtScheme.CFile · 0.50
EulerDdtScheme.CFile · 0.50
convectionScheme.CFile · 0.50
fvMeshGeometry.CFile · 0.50
addFvPatchesFunction · 0.50
operator[]Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected