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: E. Schenone |
13 |
|
|
// |
14 |
|
|
|
15 |
|
|
#ifndef _ALPDEIMMODEL_HPP |
16 |
|
|
#define _ALPDEIMMODEL_HPP |
17 |
|
|
|
18 |
|
|
// System includes |
19 |
|
|
|
20 |
|
|
// External includes |
21 |
|
|
#include "Core/NoThirdPartyWarning/Petsc/vec.hpp" |
22 |
|
|
|
23 |
|
|
// Project includes |
24 |
|
|
#include "Model/ALPModel.hpp" |
25 |
|
|
#include "Solver/eigenProblem.hpp" |
26 |
|
|
#include "Solver/eigenProblemALPDeim.hpp" |
27 |
|
|
#include "Solver/cardiacFunction.hpp" |
28 |
|
|
|
29 |
|
|
namespace felisce { |
30 |
|
|
/*! |
31 |
|
|
\file ALPDeimModel.hpp |
32 |
|
|
\authors E. Schenone |
33 |
|
|
\date 10/12/2012 |
34 |
|
|
\brief ALPDeim model class manages Approximated Lax Pairs decomposition with DEIM method. |
35 |
|
|
*/ |
36 |
|
|
class ALPDeimModel: |
37 |
|
|
public ALPModel { |
38 |
|
|
public: |
39 |
|
|
//! Construtor. |
40 |
|
|
ALPDeimModel(); |
41 |
|
|
//! Destructor. |
42 |
|
✗ |
~ALPDeimModel() override = default; |
43 |
|
|
//! Initializations |
44 |
|
|
void preAssembleMatrix(const int iProblem) override; |
45 |
|
|
//! Manage time iteration. |
46 |
|
|
void forward() override; |
47 |
|
|
void writeSolution() override; |
48 |
|
|
protected: |
49 |
|
|
std::vector<EigenProblemALPDeim*> m_eigenProblemDeim; |
50 |
|
|
}; |
51 |
|
|
} |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
#endif |
55 |
|
|
|