Files
solver/OndselSolver/ExternalSystem.h
aiksiongkoh 9058e0849d Backhoe issues (#67)
* backhoe issues

* runDragStep edit

* backhoe issues

* runDragStep edit

* Reduce large drag step progressively until convergence.
2024-06-24 22:24:38 -06:00

45 lines
1.2 KiB
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#pragma once
#include <memory>
#include "enum.h"
#include <string>
//#include "CADSystem.h"
//#include "ASMTAssembly.h"
#include "Part.h"
namespace MbD {
class CADSystem;
class ASMTAssembly;
class System;
class ExternalSystem
{
//
public:
void preMbDrun(std::shared_ptr<System> mbdSys);
void preMbDrunDragStep(std::shared_ptr<System> mbdSys, std::shared_ptr<std::vector<std::shared_ptr<Part>>> dragParts);
void updateFromMbD();
void outputFor(AnalysisType type);
void logString(std::string& str);
void logString(double value);
void runOndselPiston();
void runPiston();
void postMbDrun();
CADSystem* cadSystem;
ASMTAssembly* asmtAssembly;
};
}