FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmfLinVelVar.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_LIN_VEL_VAR_H
9 #define FMF_LIN_VEL_VAR_H
10 
11 #include "vpmDB/FmfMultiVarBase.H"
12 
13 
15 {
17 
18 public:
19  FmfLinVelVar();
20 
21  void addIntervalBreak(double val);
22  bool removeIntervalBreak(long int pos);
23 
24  static bool readAndConnect(std::istream& is, std::ostream& os = std::cout);
25  virtual std::ostream& writeFMF(std::ostream& os = std::cout);
26  virtual bool clone(FmBase* obj, int depth);
27 
28  virtual const char* getFunctionUIName() const { return "Linear derivative"; }
29  virtual const char* getFunctionFsiName() const { return "LIN_VEL_VAR"; }
30  virtual const char** getPixmap() const;
31 
32  virtual int getBlockSize() const;
33 
34  virtual void getXAxisDomain(double& start, double& stop) const;
35 
36 protected:
37  virtual ~FmfLinVelVar() {}
38 
39  virtual bool cloneLocal(FmBase* obj, int depth);
40 };
41 
42 #endif
Base parent class for the model data structure entries.
Definition: FmBase.H:37
virtual bool clone(FmBase *, int)
Copies the fields of another object into *this.
Definition: FmBase.H:109
Definition: FmfLinVelVar.H:15
bool removeIntervalBreak(long int pos)
Definition: FmfLinVelVar.C:62
void addIntervalBreak(double val)
Definition: FmfLinVelVar.C:56
virtual const char ** getPixmap() const
Definition: FmfLinVelVar.C:35
virtual ~FmfLinVelVar()
Definition: FmfLinVelVar.H:37
virtual int getBlockSize() const
Definition: FmfLinVelVar.C:41
virtual bool cloneLocal(FmBase *obj, int depth)
Clones the data fields of *obj into *this.
Definition: FmfLinVelVar.C:91
virtual const char * getFunctionUIName() const
Definition: FmfLinVelVar.H:28
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmfLinVelVar.C:68
virtual void getXAxisDomain(double &start, double &stop) const
Definition: FmfLinVelVar.C:97
FmfLinVelVar()
Definition: FmfLinVelVar.C:23
virtual const char * getFunctionFsiName() const
Definition: FmfLinVelVar.H:29
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmfLinVelVar.C:47
Definition: FmfMultiVarBase.H:17