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 _BIDOMAINTHORAXMODEL_HPP |
16 |
|
|
#define _BIDOMAINTHORAXMODEL_HPP |
17 |
|
|
|
18 |
|
|
// System includes |
19 |
|
|
|
20 |
|
|
// External includes |
21 |
|
|
#include "Core/NoThirdPartyWarning/Petsc/vec.hpp" |
22 |
|
|
|
23 |
|
|
// Project includes |
24 |
|
|
#include "Model/model.hpp" |
25 |
|
|
#include "Solver/linearProblemBidomainThorax.hpp" |
26 |
|
|
|
27 |
|
|
namespace felisce { |
28 |
|
|
class BidomainThoraxModel: |
29 |
|
|
public Model { |
30 |
|
|
public: |
31 |
|
|
///Construtor. |
32 |
|
|
BidomainThoraxModel(); |
33 |
|
|
///Destructor. |
34 |
|
|
~BidomainThoraxModel() override; |
35 |
|
|
void initializeDerivedModel() override; |
36 |
|
|
void initializeDerivedLinearProblem() override; |
37 |
|
|
void preAssemblingMatrixRHS(std::size_t iProblem=0) override; |
38 |
|
✗ |
void postAssemblingMatrixRHS(std::size_t /*iProblem=0*/) override{}; |
39 |
|
|
void writeSolution(); |
40 |
|
|
/// Manage time iteration. |
41 |
|
|
void forward() override; |
42 |
|
|
#ifdef FELISCE_WITH_CVGRAPH |
43 |
|
|
void startIterationCVG() override; |
44 |
|
|
#endif |
45 |
|
|
protected: |
46 |
|
|
std::vector<LinearProblemBidomainThorax*> m_linearProblemBidomainThorax; |
47 |
|
|
}; |
48 |
|
|
} |
49 |
|
|
|
50 |
|
|
|
51 |
|
|
#endif |
52 |
|
|
|