runOndselPiston, runPiston execute correctly

This commit is contained in:
Aik-Siong Koh
2023-06-30 19:48:30 -06:00
parent c30ee64b89
commit cb27f2344b
154 changed files with 2786 additions and 1605 deletions

31
MbDCode/CADSystem.h Normal file
View File

@@ -0,0 +1,31 @@
#pragma once
#include<memory>
#include "System.h"
//using namespace MbD;
//namespace CAD {
namespace MbD {
//class System;
class CADSystem
{
//
public:
CADSystem() {
mbdSystem->externalSystem = this;
}
void outputFor(AnalysisType type);
void logString(std::string& str);
void logString(double value);
void runOndselPiston();
void runPiston();
void postMbDrun();
std::shared_ptr<System> mbdSystem = std::make_shared<System>();
};
}