HeartSolver.hpp 932 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
        M_feSolver          (feSolver),
        M_circulationSolver (circulationSolver)
    {};
    
    virtual ~HeartSolver() {};
    
    // get data void setup(FESolver& feSolver)
    
    void extrapolatePressure(const double& dt)
    {
        
    }
    
    template<class FESolver, class CirculationSolver>
    void computeJacobian(FESolver& feSolver,  CirculationSolver& circulationSolver)
    {}
    
    void solveCirculation()
    {}
    
    
private:
    
    VectorSmall<2> M_pressure;
    VectorSmall<2> M_volume;

    
};

}

thomaskummer's avatar
thomaskummer committed
58
#endif