FEDEM Model Database  R8.0
Source code of the FEDEM model database
FFlPNSM.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 FFL_PNSM_H
9 #define FFL_PNSM_H
10 
12 #include "FFlLib/FFlTypeInfoSpec.H"
13 #include "FFlLib/FFlField.H"
14 
15 #ifdef FF_NAMESPACE
16 namespace FF_NAMESPACE {
17 #endif
18 
19 
20 class FFlPNSM : public FFlAttributeBase
21 {
22 public:
23  FFlPNSM(int ID);
24  FFlPNSM(const FFlPNSM& obj);
25  virtual ~FFlPNSM() {}
26 
27  virtual void convertUnits(const FFaUnitCalculator* convCal);
28 
29  static void init();
30 
33 
35  FFlField<int> isShell; // used to determine the proper unit conversion
36 };
37 
38 #ifdef FF_NAMESPACE
39 } // namespace
40 #endif
41 #endif
Class holding a set of unit conversions for physical properties.
Definition: FFaUnitCalculator.H:28
Definition: FFlAttributeBase.H:26
Definition: FFlPNSM.H:21
FFL_FE_ATTRIBUTE_FACTORY_INIT(FFlPNSM)
FFlField< int > isShell
Definition: FFlPNSM.H:35
virtual ~FFlPNSM()
Definition: FFlPNSM.H:25
FFL_TYPE_INFO(FFlPNSM)
FFlField< double > NSM
Definition: FFlPNSM.H:34
void init()
Definition: FmDB.C:518