Files
solver/OndselSolver/MBDynBody.h
Aik-Siong Koh e0241dd6d2 New joints for ASMT and MBDyn
GearJoint, RackPinion, Screw, Planar and MBDynCase3orig.mbd
MBDyn Sperical Hinge
2023-11-29 09:40:30 -07:00

29 lines
1.0 KiB
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#pragma once
#include "MBDynElement.h"
namespace MbD {
class MBDynBody : public MBDynElement
{
public:
void initialize() override;
void parseMBDyn(std::string line);
void readMass(std::vector<std::string>& args);
void readInertiaMatrix(std::vector<std::string>& args);
void createASMT() override;
std::string bodyString, nodeName;
double mass = std::numeric_limits<double>::min();
FColDsptr rPcmP;
FMatDsptr aJmat;
};
}