LifeV
fsi/testsuite/fsi_segregated/ud_functions.hpp
Go to the documentation of this file.
1 //@HEADER
2 /*
3 *******************************************************************************
4 
5  Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
6  Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
7 
8  This file is part of LifeV.
9 
10  LifeV is free software; you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  LifeV is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with LifeV. If not, see <http://www.gnu.org/licenses/>.
22 
23 *******************************************************************************
24 */
25 //@HEADER
26 
27 /*!
28  @file
29  @brief
30 
31  @author
32  @date 00-00-0000
33 
34  */
35 
36 #ifndef UDF_HPP
37 #define UDF_HPP
38 
39 #include <lifev/core/LifeV.hpp>
40 
41 namespace LifeV
42 {
43 Real f (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
44 
45 Real u1 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
46 
47 Real fZero (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
48 
49 // Initial velocity
50 Real u0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
51 Real p0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
52 
53 Real u2 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
54 Real u2vel (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
55 Real pressure (const Real& t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
56 
57 // Initial displacement and velocity
58 Real d0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
59 
60 Real w0 (const Real& t, const Real& x, const Real& y, const Real& z, const ID& i);
61 Real PhysFlux (const Real& t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
62 Real aortaPhysPress (const Real& t, const Real& /*x*/, const Real& /*y*/, const Real& /*z*/, const ID& i);
63 
64 }
65 
66 #endif
void assignFunction(bcBase_Type &base)
Assign the function to the base of the BCHandler.
Real aortaPhysPress(const Real &t, const Real &, const Real &, const Real &, const ID &i)
Real u2(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
Real PhysFlux(const Real &t, const Real &, const Real &, const Real &, const ID &i)
uint32_type ID
IDs.
Definition: LifeV.hpp:194
Real pressure(const Real &t, const Real &, const Real &, const Real &, const ID &i)
Real u2vel(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
double Real
Generic real data.
Definition: LifeV.hpp:175