GCC Code Coverage Report


Directory: ./
File: Solver/linearProblemFKPP.hpp
Date: 2024-04-14 07:32:34
Exec Total Coverage
Lines: 0 2 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: J. Foulon & J-F. Gerbeau & V. Martin
13 //
14
15 #ifndef _LINEARPROBLEMFKPP_HPP
16 #define _LINEARPROBLEMFKPP_HPP
17
18 // System includes
19
20 // External includes
21
22 // Project includes
23 #include "Solver/linearProblem.hpp"
24 #include "Core/felisceParam.hpp"
25 #include "FiniteElement/elementField.hpp"
26
27 namespace felisce {
28 /*!
29 \class LinearProblemFKPP
30 \author D.Lombardi
31 \date 17/09/2013
32 \brief FKPP
33 */
34 class LinearProblemFKPP:
35 public LinearProblem {
36 public:
37 LinearProblemFKPP();
38 ~LinearProblemFKPP() override;
39
40 void initialize(std::vector<GeometricMeshRegion::Pointer>& mesh, FelisceTransient::Pointer fstransient, MPI_Comm& comm, bool doUseSNES) override;
41
42 void initPerElementType(ElementType eltType, FlagMatrixRHS flagMatrixRHS = FlagMatrixRHS::matrix_and_rhs) override;
43 void initPerDomain(int label, FlagMatrixRHS flagMatrixRHS = FlagMatrixRHS::matrix_and_rhs) override {
44 m_currentLabel=label;
45 IGNORE_UNUSED_FLAG_MATRIX_RHS;
46 }
47 void computeElementArray(const std::vector<Point*>& elemPoint, const std::vector<felInt>& elemIdPoint, felInt& iel, FlagMatrixRHS flagMatrixRHS = FlagMatrixRHS::matrix_and_rhs) override;
48
49 protected:
50 CurrentFiniteElement* m_feTemp;
51 felInt m_iTemperature;
52 private:
53 ElementField m_elemField;
54 };
55 }
56
57 #endif
58