#include <stochastic_model.h>
Abstract base class for stochastic models
Definition at line 12 of file stochastic_model.h.
stochastic::StochasticModel::StochasticModel |
( |
| ) |
|
|
default |
virtual stochastic::StochasticModel::~StochasticModel |
( |
| ) |
|
|
inlinevirtual |
virtual utilities::JsonObject stochastic::StochasticModel::generate |
( |
const std::string & |
event_name, |
|
|
bool |
g_units = false |
|
) |
| |
|
pure virtual |
Generate loading based on stochastic model and store outputs as JSON object
- Parameters
-
[in] | event_name | Name to assign to event |
[in] | g_units | Indicates that time histories should be returned in units of g. Defaults to false where time histories are returned in units of m/s^2 |
- Returns
- JsonObject containing loading time histories
Implemented in stochastic::VlachosEtAl.
virtual bool stochastic::StochasticModel::generate |
( |
const std::string & |
event_name, |
|
|
const std::string & |
output_location, |
|
|
bool |
g_units = false |
|
) |
| |
|
pure virtual |
Generate loading based on stochastic model and write results to file in JSON format
- Parameters
-
[in] | event_name | Name to assign to event |
[in,out] | output_location | Location to write outputs to |
[in] | g_units | Indicates that time histories should be returned in units of g. Defaults to false where time histories are returned in units of m/s^2 |
- Returns
- Returns true if successful, false otherwise
Implemented in stochastic::VlachosEtAl.
std::string stochastic::StochasticModel::model_name |
( |
| ) |
const |
|
inline |
Get the name of the stochastic model
- Returns
- Model name as a string
Definition at line 38 of file stochastic_model.h.
Delete assignment operator
std::string stochastic::StochasticModel::model_name_ = "StochasticModel" |
|
protected |
The documentation for this class was generated from the following file: