Files
solver/OndselSolver/MBDynBody.h
2023-11-06 18:00:24 -07:00

29 lines
1015 B
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;
FColDsptr rPcmP;
FMatDsptr aJmat;
};
}