Files
solver/OndselSolver/MBDynBody.h
Aik-Siong Koh 2b7fba1b0e Edits for MacOS
2023-11-30 21:48:26 -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) override;
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;
};
}