Change the project name from MbDCode to OndselSolver.
This commit is contained in:
42
OndselSolver/CADSystem.h
Normal file
42
OndselSolver/CADSystem.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2023 Ondsel, Inc. *
|
||||
* *
|
||||
* This file is part of OndselSolver. *
|
||||
* *
|
||||
* See LICENSE file for details about copyright. *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "ExternalSystem.h"
|
||||
#include "System.h"
|
||||
|
||||
namespace MbD {
|
||||
|
||||
class CADSystem
|
||||
{
|
||||
//
|
||||
public:
|
||||
CADSystem() {
|
||||
mbdSystem->initialize();
|
||||
mbdSystem->externalSystem->cadSystem = this;
|
||||
}
|
||||
|
||||
void outputFor(AnalysisType type);
|
||||
void logString(std::string& str);
|
||||
void logString(double value);
|
||||
void runOndselSinglePendulum();
|
||||
void runOndselDoublePendulum();
|
||||
void runOndselPiston();
|
||||
void runPiston();
|
||||
void preMbDrun(std::shared_ptr<System> mbdSys);
|
||||
void postMbDrun();
|
||||
void updateFromMbD();
|
||||
|
||||
std::shared_ptr<System> mbdSystem = std::make_shared<System>();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user