* moved misc files to project resource * MBDyn Sperical Hinge * Werner compil warning (#32) * Replace int by size_t in for loops. * Various dtor missing and some other warning fixes. * fixed size_t vs int * fixed size_t vs int --------- Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com> Co-authored-by: Aik-Siong Koh <askoh@askoh.com> * moved misc files to project resource * MBDyn Sperical Hinge * gravity fix --------- Co-authored-by: PaddleStroke <pierrelouis.boyer@gmail.com> Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
25 lines
835 B
C++
25 lines
835 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 MBDynGravity : public MBDynElement
|
|
{
|
|
public:
|
|
void parseMBDyn(std::string line);
|
|
void readFunction(std::vector<std::string>& args);
|
|
void createASMT() override;
|
|
|
|
std::string gravityString, formula;
|
|
FColDsptr gvec;
|
|
|
|
};
|
|
}
|