https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Functions
RestartableDataReporter.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("MooseApp", RestartableDataReporter)
 
void to_json (nlohmann::json &json, const RestartableDataReporter::Value &value)
 
template<>
void dataStore (std::ostream &stream, RestartableDataReporter::Value &v, void *context)
 
template<>
void dataLoad (std::istream &stream, RestartableDataReporter::Value &v, void *context)
 

Function Documentation

◆ dataLoad()

template<>
void dataLoad ( std::istream &  stream,
RestartableDataReporter::Value v,
void *  context 
)

Definition at line 147 of file RestartableDataReporter.C.

148{
149 v.value = nullptr;
150 dataLoad(stream, v.params, context);
151}
void dataLoad(std::istream &stream, RestartableDataReporter::Value &v, void *context)
const RestartableDataValue * value
RestartableDataValue::StoreJSONParams params

Referenced by dataLoad().

◆ dataStore()

template<>
void dataStore ( std::ostream &  stream,
RestartableDataReporter::Value v,
void *  context 
)

Definition at line 140 of file RestartableDataReporter.C.

141{
142 dataStore(stream, v.params, context);
143}
void dataStore(std::ostream &stream, RestartableDataReporter::Value &v, void *context)

Referenced by dataStore().

◆ registerMooseObject()

registerMooseObject ( "MooseApp"  ,
RestartableDataReporter   
)

◆ to_json()

void to_json ( nlohmann::json &  json,
const RestartableDataReporter::Value value 
)

Definition at line 132 of file RestartableDataReporter.C.

133{
134 mooseAssert(value.value, "Not set");
135 value.value->store(json, value.params);
136}
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)