SPEED
MAKE_BILINEAR_MAP.f90
Go to the documentation of this file.
1! Copyright (C) 2012 The SPEED FOUNDATION
2! Author: Ilario Mazzieri
3!
4! This file is part of SPEED.
5!
6! SPEED is free software; you can redistribute it and/or modify it
7! under the terms of the GNU Affero General Public License as
8! published by the Free Software Foundation, either version 3 of the
9! License, or (at your option) any later version.
10!
11! SPEED is distributed in the hope that it will be useful, but
12! WITHOUT ANY WARRANTY; without even the implied warranty of
13! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14! Affero General Public License for more details.
15!
16! You should have received a copy of the GNU Affero General Public License
17! along with SPEED. If not, see <http://www.gnu.org/licenses/>.
18
48
49 subroutine make_bilinear_map(nodes, c_alfa11, c_alfa12, c_alfa13, &
50 c_alfa21, c_alfa22, c_alfa23, &
51 c_alfa31, c_alfa32, c_alfa33, &
52 c_beta11, c_beta12, c_beta13, &
53 c_beta21, c_beta22, c_beta23, &
54 c_beta31, c_beta32, c_beta33, &
55 c_gamma1, c_gamma2, c_gamma3, &
56 c_delta1, c_delta2, c_delta3)
57
58 implicit none
59
60 real*8 :: x1,x2,x3,x4,x5,x6,x7,x8
61 real*8 :: y1,y2,y3,y4,y5,y6,y7,y8
62 real*8 :: z1,z2,z3,z4,z5,z6,z7,z8
63 real*8, intent(out) :: c_alfa11, c_alfa12, c_alfa13, c_alfa21, c_alfa22, c_alfa23, c_alfa31, c_alfa32, c_alfa33
64 real*8, intent(out) :: c_beta11, c_beta12, c_beta13, c_beta21, c_beta22, c_beta23, c_beta31, c_beta32, c_beta33
65 real*8, intent(out) :: c_gamma1, c_gamma2, c_gamma3, c_delta1, c_delta2, c_delta3
66
67 real*8, dimension(24) :: nodes
68
69
70 c_alfa11 = nodes(1)
71 c_alfa12 = nodes(2)
72 c_alfa13 = nodes(3)
73
74 c_alfa21 = nodes(4)
75 c_alfa22 = nodes(5)
76 c_alfa23 = nodes(6)
77
78 c_alfa31 = nodes(7)
79 c_alfa32 = nodes(8)
80 c_alfa33 = nodes(9)
81
82 c_beta11 = nodes(10)
83 c_beta12 = nodes(11)
84 c_beta13 = nodes(12)
85
86 c_beta21 = nodes(13)
87 c_beta22 = nodes(14)
88 c_beta23 = nodes(15)
89
90 c_beta31 = nodes(16)
91 c_beta32 = nodes(17)
92 c_beta33 = nodes(18)
93
94 c_gamma1 = nodes(19)
95 c_gamma2 = nodes(20)
96 c_gamma3 = nodes(21)
97
98 c_delta1 = nodes(22)
99 c_delta2 = nodes(23)
100 c_delta3 = nodes(24)
101
102
103 end subroutine make_bilinear_map
subroutine make_bilinear_map(nodes, c_alfa11, c_alfa12, c_alfa13, c_alfa21, c_alfa22, c_alfa23, c_alfa31, c_alfa32, c_alfa33, c_beta11, c_beta12, c_beta13, c_beta21, c_beta22, c_beta23, c_beta31, c_beta32, c_beta33, c_gamma1, c_gamma2, c_gamma3, c_delta1, c_delta2, c_delta3)
Takes values from nodes array.