FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmfSmoothTraj.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
8 #ifndef FMF_SMOOTH_TRAJ_H
9 #define FMF_SMOOTH_TRAJ_H
10 
11 #include "vpmDB/FmMathFuncBase.H"
12 
13 
15 {
17 
18 public:
19  FmfSmoothTraj();
20 
21  static bool readAndConnect(std::istream& is, std::ostream& os = std::cout);
22  virtual std::ostream& writeFMF(std::ostream& os = std::cout);
23  virtual bool clone(FmBase* obj, int depth);
24 
25  virtual const char* getFunctionUIName() const { return "Smooth trajectory"; }
26  virtual const char* getFunctionFsiName() const { return "SMOOTH_TRAJ"; }
27  virtual const char** getPixmap() const;
28 
29  virtual void getFunctionVariables(std::vector<FmFuncVariable>& retArray,
30  bool fortranPermutation = false) const;
31 
32 protected:
33  virtual ~FmfSmoothTraj() {}
34 
35  virtual int printSolverData(FILE* fp);
36 
37  virtual bool cloneLocal(FmBase* obj, int depth);
38 
40  M_MOD_PARAMS(TotalTrajTime,FmfSmoothTraj);
43 };
44 
45 #endif
Base parent class for the model data structure entries.
Definition: FmBase.H:37
Definition: FmMathFuncBase.H:22
virtual bool clone(FmBase *, int)
Copies the fields of another object into *this.
Definition: FmBase.H:109
Definition: FmfSmoothTraj.H:15
virtual bool cloneLocal(FmBase *obj, int depth)
Clones the data fields of *obj into *this.
Definition: FmfSmoothTraj.C:106
virtual const char * getFunctionFsiName() const
Definition: FmfSmoothTraj.H:26
M_MOD_PARAMS(TotalTrajTime, FmfSmoothTraj)
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmfSmoothTraj.C:83
virtual int printSolverData(FILE *fp)
Definition: FmfSmoothTraj.C:71
virtual const char ** getPixmap() const
Definition: FmfSmoothTraj.C:38
M_MOD_PARAMS(MaxSpeed, FmfSmoothTraj)
FmfSmoothTraj()
Definition: FmfSmoothTraj.C:21
virtual const char * getFunctionUIName() const
Definition: FmfSmoothTraj.H:25
M_MOD_PARAMS(MaxAcc, FmfSmoothTraj)
virtual ~FmfSmoothTraj()
Definition: FmfSmoothTraj.H:33
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmfSmoothTraj.C:62
virtual void getFunctionVariables(std::vector< FmFuncVariable > &retArray, bool fortranPermutation=false) const
Definition: FmfSmoothTraj.C:44
M_MOD_PARAMS(StartTime, FmfSmoothTraj)