TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
calcul_spectres.h
1/****************************************************************************
2* Copyright (c) 2015 - 2016, CEA
3* All rights reserved.
4*
5* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9*
10* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
11* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
12* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13*
14*****************************************************************************/
15
16#ifndef calcul_spectres_included
17#define calcul_spectres_included
18
19#include <TRUSTTab.h>
20
21/*
22 extern "C" void calc_sp_nouveau(DoubleTab& ,int , double, double& );
23 extern "C" void calc_sp_nouveau_3_vit(DoubleTab& , DoubleTab& , DoubleTab& , int , double ,double& ,double&);
24*/
25
26extern "C" void calc_sp_nouveau_2(DoubleTab& ,int , double , double&, double&);
27extern "C" void calc_Ec(DoubleVect& ,int ,double& );
28extern "C" void calc_sp_operateur(DoubleTab& , DoubleTab& , DoubleTab& , int , double ,int , double, DoubleVect&);
29extern "C" void calc_sp_nouveau_2_operateur(DoubleTab& ,int , double ,int , double,DoubleVect& );
30#ifdef F77_Majuscule
31
32//extern "C" void F77DECLARE(CALCUL0SPECTRE0AP0TF) (double*,double*,double*,double*,int*,double*,double*,double*);
33//extern "C" void F77DECLARE(CALCUL0SPECTRE0AP0CHP) (double*,double*,int*,double*,double*,double*);
34extern "C" void F77DECLARE(CALCUL0SPECTRE0AP0CHP0VERIF) (double*,double*,double*,double*,double*,int*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,integer *wl, integer *wm, integer *wn, integer *iwork);
35extern "C" void F77DECLARE(CALCUL0SPECTRE0AP0CHP0PER) (double*,double*,int*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,integer *wl, integer *wm, integer *wn, integer *iwork);
36//extern "C" void F77DECLARE(CALCUL0SPECTRE0AP0CHP0FACE) (double*,double*double*,double*,int*,double*,double*,double*);
37//extern "C" void F77DECLARE (CALCUL0TR0INVERSE) (double*,double*,double*,double*,int*,double*);
38//extern "C" void F77DECLARE (CALCUL0TR0INVERSE0FACE) (double*,double*,double*,double*,double*,double*,int*,double*);
39//extern "C" void F77DECLARE (TG) (double*, int*);
40//extern "C" void F77DECLARE (EXTRAPOLE) (double*,double*,double*,double*,double*,int*,double*,double*,double*);
41//extern "C" void F77DECLARE (EXTRAPOLE0E) (double*,double*,double*,double*,double*,int*,double*,double*,double*);
42//extern "C" void F77DECLARE (REND0PER0CHP) (double*,int*);
43extern "C" void F77DECLARE(CALCUL0SPECTRE0AVEC030VIT) (double*,double*,double*,double*,int*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,integer *wl, integer *wm, integer *wn, integer *iwork);
44
45#else
46
47//extern "C" void F77DECLARE(calcul0spectre0ap0tf) (double*,double*,double*,double*,int*,double*,double*,double*);
48//extern "C" void F77DECLARE(calcul0spectre0ap0chp) (double*,double*,int*,double*,double*,double*);
49extern "C" void F77DECLARE(calcul0spectre0ap0chp0verif) (double*,double*,double*,double*,double*,int*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,integer *wl, integer *wm, integer *wn, integer *iwork);
50extern "C" void F77DECLARE(calcul0spectre0ap0chp0per) (double*,double*,int*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,integer *wl, integer *wm, integer *wn, integer *iwork);
51//extern "C" void F77DECLARE(calcul0spectre0ap0chp0face) (double*,double*,double*,double*,int*,double*,double*,double*);
52/* extern "C" void F77DECLARE(calcul0tr0inverse) (double*,double*,double*,double*,int*,double*); */
53/* extern "C" void F77DECLARE(calcul0tr0inverse0face) (double*,double*,double*,double*,double*,double*,int*,double*); */
54/* extern "C" void F77DECLARE (tg) (double*, int*); */
55/* extern "C" void F77DECLARE (extrapole) (double*,double*,double*,double*,double*,int*,double*,double*,double*); */
56/* extern "C" void F77DECLARE (extrapole0e) (double*,double*,double*,double*,double*,int*,double*,double*,double*); */
57/* extern "C" void F77DECLARE (rend0per0chp) (double*,int*); */
58extern "C" void F77DECLARE(calcul0spectre0avec030vit) (double*,double*,double*,double*,int*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,double*,integer *wl, integer *wm, integer *wn, integer *iwork);
59
60#endif
61
62
63#ifndef F77_Majuscule
64
65/* inline void F77NAME(CALCUL0SPECTRE0AP0TF)(double* x1,double* x2,double* x3,double* x4,int* i1,double* x5,double* x6,double* x7) */
66/* { */
67/* F77NAME(calcul0spectre0ap0tf)(x1, x2,x3,x4, i1,x5,x6,x7); */
68/* } */
69
70/* inline void F77NAME(CALCUL0SPECTRE0AP0CHP)(double* x1,double* x2,int* i1,double* x3,double* x4,double* x5) */
71/* { */
72/* F77NAME(calcul0spectre0ap0chp)(x1, x2, i1, x3, x4, x5); */
73/* } */
74
75inline void F77NAME(CALCUL0SPECTRE0AP0CHP0VERIF)(double* x1,double* x2,double* x6,double* x7,double* x8,int* i1,double* x3,double* x4,double* x5,double* x9,double* x10,double* x11,double* x12,double* x13,double* x14,double* x15,double* x16,double* x17,double* x18,integer *wl, integer *wm, integer *wn, integer *iwork)
76{
77 F77NAME(calcul0spectre0ap0chp0verif)(x1, x2,x6,x7,x8, i1, x3, x4, x5, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18,wl, wm, wn, iwork);
78}
79
80inline void F77NAME(CALCUL0SPECTRE0AP0CHP0PER)(double* x1,double* x2,int* i1,double* x3,double* x4,double* x5, double* x8,double* x9,double* x10,double* x11,double* x12,double* x13,double* x14,double* x15,double* x16,double* x17,double* x18,double* x19,double* x20,integer *wl, integer *wm, integer *wn, integer *iwork)
81{
82 F77NAME(calcul0spectre0ap0chp0per)(x1, x2, i1, x3, x4, x5, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20,wl, wm, wn, iwork);
83}
84
85/* inline void F77NAME(CALCUL0SPECTRE0AP0CHP0FACE)(double* x6,double* x7,double* x1,double* x2,int* i1,double* x3,double* x4,double* x5) */
86/* { */
87/* F77NAME(calcul0spectre0ap0chp0face)(x6,x7,x1, x2, i1, x3, x4, x5); */
88/* } */
89
90/* inline void F77NAME(CALCUL0TR0INVERSE)(double* x1,double* x2,double* x3,double* x4,int* i1,double* x5) */
91/* { */
92/* F77NAME(calcul0tr0inverse)(x1, x2, x3, x4, i1, x5); */
93/* } */
94
95/* inline void F77NAME(CALCUL0TR0INVERSE0FACE)(double* x6,double* x7,double* x1,double* x2,double* x3,double* x4,int* i1,double* x5) */
96/* { */
97/* F77NAME(calcul0tr0inverse0face)(x6,x7,x1, x2, x3, x4, i1, x5); */
98/* } */
99
100/* inline void F77NAME(TG)(double* x1,int* i1) */
101/* { */
102/* F77NAME(tg)(x1,i1); */
103/* } */
104
105/* inline void F77NAME(EXTRAPOLE) (double* x1,double* x2,double* x3,double* x4,double* x5,int* i1,double* x6,double* x7,double* x8) */
106/* { */
107/* F77NAME(extrapole) (x1,x2,x3,x4,x5,i1,x6,x7,x8); */
108/* } */
109
110/* inline void F77NAME(EXTRAPOLE0E) (double* x1,double* x2,double* x3,double* x4,double* x5,int* i1,double* x6,double* x7,double* x8) */
111/* { */
112/* F77NAME(extrapole0e) (x1,x2,x3,x4,x5,i1,x6,x7,x8); */
113/* } */
114
115/* inline void F77NAME(REND0PER0CHP) (double* x1, int* i1) */
116/* { */
117/* F77NAME(rend0per0chp) (x1,i1); */
118/* } */
119
120inline void F77NAME(CALCUL0SPECTRE0AVEC030VIT)(double* x1,double* x6,double* x7,double* x2,int* i1,double* x3,double* x4,double* x5,double* x8,double* x9,double* x10,double* x11,double* x12,double* x13,double* x14,double* x15,double* x16,double* x17,double* x18,double* x19,double* x20,integer *wl, integer *wm, integer *wn, integer *iwork)
121{
122 F77NAME(calcul0spectre0avec030vit)(x1, x6, x7, x2, i1, x3, x4, x5, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20,wl, wm, wn, iwork);
123}
124
125
126#endif
127
128
129#endif