34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
/***************************************************************************
|
|
* Copyright (c) 2023 Ondsel, Inc. *
|
|
* *
|
|
* This file is part of OndselSolver. *
|
|
* *
|
|
* See LICENSE file for details about copyright. *
|
|
***************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include "ASMTItem.h"
|
|
//#include "Units.h"
|
|
|
|
namespace MbD {
|
|
class System;
|
|
class Units;
|
|
|
|
class EXPORT ASMTConstantGravity : public ASMTItem
|
|
{
|
|
//
|
|
public:
|
|
void parseASMT(std::vector<std::string>& lines) override;
|
|
void createMbD(std::shared_ptr<System> mbdSys, std::shared_ptr<Units> mbdUnits) override;
|
|
FColDsptr getg();
|
|
void setg(FColDsptr g);
|
|
|
|
void setg(double a, double b, double c);
|
|
void storeOnLevel(std::ofstream& os, int level) override;
|
|
|
|
FColDsptr g = std::make_shared<FullColumn<double>>(ListD{ 0.,0.,0. });
|
|
};
|
|
}
|
|
|