MySources/chronoseulernonlinearsimula...

14 lines
565 B
C++
Raw Normal View History

#include "chronoseulernonlinearsimulationmodel.hpp"
ChronosEulerNonLinearSimulationModel::ChronosEulerNonLinearSimulationModel() {}
SimulationResults ChronosEulerNonLinearSimulationModel::executeSimulation(
const std::shared_ptr<SimulationJob> &pJob) {
ChronosEulerSimulationModel simulationModel;
simulationModel.settings.analysisType =
ChronosEulerSimulationModel::Settings::AnalysisType::NonLinear;
auto simulationResults = simulationModel.executeSimulation(pJob);
simulationResults.simulationModelUsed = label;
return simulationResults;
}