GCC Code Coverage Report


Directory: ./
File: Hyperelasticity/pressureData.hpp
Date: 2024-04-14 07:32:34
Exec Total Coverage
Lines: 0 1 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // ______ ______ _ _ _____ ______
2 // | ____| ____| | (_)/ ____| | ____|
3 // | |__ | |__ | | _| (___ ___| |__
4 // | __| | __| | | | |\___ \ / __| __|
5 // | | | |____| |____| |____) | (__| |____
6 // |_| |______|______|_|_____/ \___|______|
7 // Finite Elements for Life Sciences and Engineering
8 //
9 // License: LGL2.1 License
10 // FELiScE default license: LICENSE in root folder
11 //
12 // Main authors: S. Gilles
13 //
14
15 #ifndef ___FELISCE__PressureData__
16 # define ___FELISCE__PressureData__
17
18 // System includes
19
20 // External includes
21
22 // Project includes
23 #include "Hyperelasticity/enumHyperelasticity.hpp"
24 #include "Core/shared_pointers.hpp"
25
26 namespace felisce {
27
28 // Forward declarations.
29 class ListVariable;
30 class ListCurrentFiniteElement;
31 class CurrentFiniteElement;
32
33 namespace Private {
34
35 namespace Hyperelasticity {
36
37 /*!
38 * \brief In charge of handling pressure-related data and methods.
39 *
40 * Does anything only for the incompressible problem."
41 *
42 * This class is intended to be a parent of template class linearProblemHyperelasticity.
43 */
44 class PressureData {
45
46 public:
47 /// Pointer definition of PressureData
48 FELISCE_CLASS_POINTER_DEFINITION(PressureData);
49
50 // Constructor.
51 PressureData();
52
53 // Destructor.
54 virtual ~PressureData() = default;
55
56 // Left undefined on purpose in the general case.
57 virtual void Init(const ListVariable&, ListCurrentFiniteElement& );
58
59 // Left undefined on purpose in the general case.
60 virtual int IndexPressure() const;
61
62 // If the formulation is compressible or not
63 virtual bool IsCompressible() const;
64
65 // Left undefined on purpose in the general case.
66 virtual CurrentFiniteElement* FiniteElementPressure() const;
67 };
68
69 } // namespace Hyperelasticity
70
71 } // namespace Private
72
73 } // namespace felisce
74
75 #endif /* defined(___FELISCE__PressureData__) */
76