LifeV
fsi/examples/challenge_VPH/ud_functions.hpp
Go to the documentation of this file.
1 /* -*- mode: c++ -*-
2  This program is part of the LifeV library
3  Copyright (C) 2001,2002,2003,2004 EPFL, INRIA, Politechnico di Milano
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License
7  as published by the Free Software Foundation; either version 2
8  of the License, or (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19 
20 #ifndef UDF_HPP
21 #define UDF_HPP
22 
23 #include <lifev/core/LifeV.hpp>
24 #include "lifev/core/array/VectorEpetra.hpp"
25 //#include "flowConditions.hpp"
26 
27 namespace LifeV
28 {
29 Real f (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
30 
31 Real u1 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
32 
33 Real fZero (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
34 
35 // Initial velocity
36 Real u0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
37 Real p0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
38 Real E (const Real& /*t*/, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& /*i*/);
39 
40 
41 // Initial displacement and velocity
42 Real d0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
43 
44 Real w0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
45 
46 Real aortaPhisPress (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
47 
48 Real abdominalAorta (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
49 
50 Real aortaFlux4 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
51 Real aortaFlux5 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
52 Real aortaFlux7 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
53 Real aortaFlux8 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
54 Real aortaFlux9 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
55 Real aortaFluxIn (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
56 Real aortaFlux3_ (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
57 Real aortaFlux3 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
58 Real aortaFlux6_ (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
59 Real aortaFlux6 (const Real& t, const Real& x = 0, const Real& y = 0, const Real& z = 0, const ID& i = 0);
60 
61 Real linearFlux3_ (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
62 Real linearFlux3 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
63 Real linearFluxIn (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
64 Real linearFlux4 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
65 Real linearFlux5 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
66 Real linearFlux6 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
67 Real linearFlux6_ (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
68 Real linearFlux7 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
69 Real linearFlux8 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
70 Real linearFlux9 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
71 Real linearPress2 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
72 
73 Real u2 (Real t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
74 
75 }
76 
77 
78 
79 #endif
Real fZero(const Real &, const Real &, const Real &, const Real &, const ID &)
Real d0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real aortaFluxIn(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real aortaFlux6_(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real E(const Real &, const Real &, const Real &, const Real &, const ID &)
Real aortaFlux6(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real linearFlux8(Real t, const Real &, const Real &, const Real &, const ID &i)
Real p0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real linearFlux6_(Real t, const Real &, const Real &, const Real &, const ID &i)
Real linearPress2(Real t, const Real &, const Real &, const Real &, const ID &i)
void updateInverseJacobian(const UInt &iQuadPt)
Real aortaFlux3_(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real w0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
uint32_type ID
IDs.
Definition: LifeV.hpp:194
Real linearFlux3_(Real t, const Real &, const Real &, const Real &, const ID &i)
Real linearFlux7(Real t, const Real &, const Real &, const Real &, const ID &i)
Real f(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real aortaFlux3(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real linearFlux5(Real t, const Real &, const Real &, const Real &, const ID &i)
Real aortaPhisPress(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
double Real
Generic real data.
Definition: LifeV.hpp:175
Real abdominalAorta(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real u1(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real linearFlux9(Real t, const Real &, const Real &, const Real &, const ID &i)
Real aortaFlux8(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real aortaFlux4(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real u0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real linearFlux3(Real t, const Real &, const Real &, const Real &, const ID &i)
Real aortaFlux9(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real aortaFlux7(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real u2(Real t, const Real &, const Real &, const Real &, const ID &i)
Real linearFlux6(Real t, const Real &, const Real &, const Real &, const ID &i)
Real aortaFlux5(const Real &t, const Real &x=0, const Real &y=0, const Real &z=0, const ID &i=0)
Real linearFlux4(Real t, const Real &, const Real &, const Real &, const ID &i)
Real linearFluxIn(Real t, const Real &, const Real &, const Real &, const ID &i)