#ifndef LINEARSIMULATIONMODEL_HPP #define LINEARSIMULATIONMODEL_HPP #include "simulationmodel.hpp" #include "threed_beam_fea.h" #include #include class LinearSimulationModel : public SimulationModel { public: LinearSimulationModel(){ } static std::vector getFeaElements(const std::shared_ptr &pMesh); static std::vector getFeaNodes(const std::shared_ptr &pMesh); static std::vector getFeaFixedNodes(const std::shared_ptr &job); static std::vector getFeaNodalForces(const std::shared_ptr &job); static SimulationResults getResults(const fea::Summary &feaSummary, const std::shared_ptr &simulationJob); SimulationResults executeSimulation(const std::shared_ptr &simulationJob); void setStructure(const std::shared_ptr &pMesh); private: fea::ThreedBeamFEA simulator; static void printInfo(const fea::BeamStructure &job); }; #endif // LINEARSIMULATIONMODEL_HPP