FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmRiser.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_RISER_H
9 #define FM_RISER_H
10 
11 #include "vpmDB/FmAssemblyBase.H"
12 
13 
14 class FmRiser : public FmAssemblyBase
15 {
17 
18 public:
19  typedef std::pair<int,int> Ints;
20 
21  FmRiser(bool isDummy = false);
22  virtual ~FmRiser() {}
23 
24  static bool readAndConnect(std::istream& is, std::ostream& os = std::cout);
25  virtual std::ostream& writeFMF(std::ostream& os = std::cout);
26 
27  virtual const char* getUITypeName() const { return "Beamstring"; }
28  virtual const char** getListViewPixmap() const;
29 
30  static bool stitch(FmModelMemberBase* beam1,
31  FmModelMemberBase* beam2,
32  FmModelMemberBase* contactSpring,
33  bool interconnectXY, double tolDist = 0.1);
34  static bool split(FmModelMemberBase* beam1, FmModelMemberBase* beam2);
35 
36 public:
42 };
43 
44 #endif
Definition: FmAssemblyBase.H:17
Base class for all model data objects.
Definition: FmModelMemberBase.H:34
Definition: FmRiser.H:15
FFaField< double > mudDensity
Definition: FmRiser.H:38
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmRiser.C:43
Fmd_HEADER_INIT()
std::pair< int, int > Ints
Definition: FmRiser.H:19
virtual ~FmRiser()
Definition: FmRiser.H:22
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmRiser.C:58
FFaField< double > mudLevel
Definition: FmRiser.H:39
static bool stitch(FmModelMemberBase *beam1, FmModelMemberBase *beam2, FmModelMemberBase *contactSpring, bool interconnectXY, double tolDist=0.1)
Definition: FmRiser.C:168
static bool split(FmModelMemberBase *beam1, FmModelMemberBase *beam2)
Definition: FmRiser.C:285
FmRiser(bool isDummy=false)
Definition: FmRiser.C:24
FFaField< Ints > visualize3DAngles
Definition: FmRiser.H:41
FFaField< int > visualize3Dts
Definition: FmRiser.H:40
virtual const char * getUITypeName() const
Returns the type name of this object for use in the GUI.
Definition: FmRiser.H:27
FFaField< bool > internalMud
Definition: FmRiser.H:37
virtual const char ** getListViewPixmap() const
Returns the pixmap of this item.
Definition: FmRiser.C:37