OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
eq_2_ag_unit_test.hpp
1 /*
2  * eq_2_ag_unit_test.hpp
3  *
4  * Created on: Sep 18, 2015
5  * Author: i-bird
6  */
7 
8 #ifndef OPENFPM_NUMERICS_SRC_EQUATIONS_EQ_2_AG_UNIT_TEST_HPP_
9 #define OPENFPM_NUMERICS_SRC_EQUATIONS_EQ_2_AG_UNIT_TEST_HPP_
10 
11 // Left part equation 2
12 
13 namespace eq2
14 {
15  typedef mul<etad2,D<y,t1>> t1_l;
16  typedef mul<eta,D<y,t2>> t2_l;
17  typedef mul<etad2,D<y,t3>> t3_l;
18 
19  typedef mul<eta,D<x,t4>> t4_l;
20  typedef mul<eta2,D<x,t5>> t5_l;
21  typedef mul<eta,D<x,t6>> t6_l;
22 
23  typedef mul<eta,Lap<v>> meLv;
24  typedef D<y,P> DyP;
25 
26  // left part equation 2
27 
28  typedef add<meLv,DyP,Dt1,Dt2,Dt3,Dt4,Dt6> left;
29 
30  typedef div<-2,D<x,hp>> t1_r;
31  typedef mul<zeta,D<y,mul<del_nu,py2>>> t2_r;
32  typedef mul<zeta,D<x,mul<del_nu,px_py>>> t3_r;
35  typedef mul<nud2,D<x,mul<hp,px2_m_py2>>> t6_r;
36  typedef D<x,sigma[x][y]> t7_r;
37  typedef D<y,sigma[y][x]> t8_r;
39 
40  typedef add<t1_r,t2_r,t3_r,t4_r,t5_r,t6_r,t7_r,t8_r,t9_r> right;
41 }
42 
43 
44 
45 #endif /* OPENFPM_NUMERICS_SRC_EQUATIONS_EQ_2_AG_UNIT_TEST_HPP_ */
Derivative second order on h (spacing)
Definition: Derivative.hpp:28
It model an expression expr1 * expr2.
Definition: mul.hpp:119