piston.asmt file is running correctly
This commit is contained in:
@@ -1,13 +1,35 @@
|
||||
#include "ExternalSystem.h"
|
||||
#include "CADSystem.h"
|
||||
#include "ASMTAssembly.h"
|
||||
#include "System.h"
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
void MbD::ExternalSystem::preMbDrun()
|
||||
void MbD::ExternalSystem::preMbDrun(std::shared_ptr<System> mbdSys)
|
||||
{
|
||||
if (cadSystem) {
|
||||
cadSystem->preMbDrun(mbdSys);
|
||||
}
|
||||
else if (asmtAssembly) {
|
||||
asmtAssembly->preMbDrun(mbdSys);
|
||||
}
|
||||
else {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
void MbD::ExternalSystem::outputFor(AnalysisType type)
|
||||
{
|
||||
if (cadSystem) {
|
||||
cadSystem->updateFromMbD();
|
||||
}
|
||||
else if (asmtAssembly) {
|
||||
asmtAssembly->updateFromMbD();
|
||||
asmtAssembly->compareResults(type);
|
||||
}
|
||||
else {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
void MbD::ExternalSystem::logString(std::string& str)
|
||||
|
||||
Reference in New Issue
Block a user