FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmRotFriction.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 FM_ROT_FRICTION_H
9 #define FM_ROT_FRICTION_H
10 
11 #include "vpmDB/FmFrictionBase.H"
12 
13 
15 {
17 
18 public:
19  FmRotFriction();
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* getUITypeName() const { return "Rotational friction"; }
26  virtual void getParameters(std::vector<FmParameter>& retArray) const;
27 
28 protected:
29  virtual ~FmRotFriction() {}
30 
31  virtual const char* getFrictionFsiName() const;
32  virtual void getTypeDepVars(std::vector<double>& vars) const;
33 
34  virtual bool cloneLocal(FmBase* obj, int depth);
35 
37 };
38 
39 #endif
Base parent class for the model data structure entries.
Definition: FmBase.H:37
Definition: FmFrictionBase.H:15
Definition: FmRotFriction.H:15
virtual void getParameters(std::vector< FmParameter > &retArray) const
Definition: FmRotFriction.C:47
M_MOD_PARAMS(Radius, FmRotFriction)
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmRotFriction.C:58
virtual void getTypeDepVars(std::vector< double > &vars) const
Definition: FmRotFriction.C:41
virtual bool cloneLocal(FmBase *obj, int depth)
Clones the data fields of *obj into *this.
Definition: FmRotFriction.C:95
FmRotFriction()
Definition: FmRotFriction.C:19
virtual const char * getFrictionFsiName() const
Definition: FmRotFriction.C:27
virtual ~FmRotFriction()
Definition: FmRotFriction.H:29
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmRotFriction.C:67
virtual const char * getUITypeName() const
Returns the type name of this object for use in the GUI.
Definition: FmRotFriction.H:25
virtual bool clone(FmBase *, int)
Copies the fields of another object into *this.
Definition: FmBase.H:109