HeartSolver.hpp 736 Bytes
Newer Older
thomaskummer's avatar
thomaskummer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
//
//  HeartSolver.cpp
//  LifeV
//
//  Created by Thomas Kummer on 03.05.16.
//  Copyright © 2016 Thomas Kummer. All rights reserved.
//

#ifndef _HEARTDATA_H_
#define _HEARTDATA_H_


#include <stdio.h>
thomaskummer's avatar
thomaskummer committed
14
15
16
#include <lifev/em/solver/EMSolver.hpp>


thomaskummer's avatar
thomaskummer committed
17
18
19
20

namespace LifeV
{

thomaskummer's avatar
thomaskummer committed
21

thomaskummer's avatar
thomaskummer committed
22
23
24
25
class HeartSolver {
   
public:
    
thomaskummer's avatar
thomaskummer committed
26
    HeartSolver(EMSolver& emSolver,  CirculationSolver& circulationSolver):
thomaskummer's avatar
thomaskummer committed
27
        M_emSolver          (emSolver),
thomaskummer's avatar
thomaskummer committed
28
29
30
31
32
        M_circulationSolver (circulationSolver)
    {};
    
    virtual ~HeartSolver() {};
    
thomaskummer's avatar
thomaskummer committed
33
34

    
thomaskummer's avatar
thomaskummer committed
35
36
37
38
39
40
41
    
    
    
    
    
private:
    
thomaskummer's avatar
thomaskummer committed
42
43
44
45
46
47
48
    
    EMSolver M_emSolver;
    CirculationSolver M_circulationSolver;
    
    
    
    
thomaskummer's avatar
thomaskummer committed
49
50
51
52
53
54
55
56
    VectorSmall<2> M_pressure;
    VectorSmall<2> M_volume;

    
};

}

thomaskummer's avatar
thomaskummer committed
57
#endif