Salome HOME
Copyright update 2022
[tools/yacsgen.git] / Examples / fort2 / code1.f
1 C Copyright (C) 2009-2022  EDF R&D
2 C
3 C This library is free software; you can redistribute it and/or
4 C modify it under the terms of the GNU Lesser General Public
5 C License as published by the Free Software Foundation; either
6 C version 2.1 of the License, or (at your option) any later version.
7 C
8 C This library is distributed in the hope that it will be useful,
9 C but WITHOUT ANY WARRANTY; without even the implied warranty of
10 C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 C Lesser General Public License for more details.
12 C
13 C You should have received a copy of the GNU Lesser General Public
14 C License along with this library; if not, write to the Free Software
15 C Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 C
17 C See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 C
19
20        PROGRAM P
21        CALL YACSINIT()
22        END
23
24        SUBROUTINE SERV1(compo,a,b,c)
25        include 'calcium.hf'
26        integer compo(2)
27        real*8 tt,a,b,c
28        write(6,*)a,b
29        tt=125.45
30        CALL cpeDB(compo,CP_ITERATION,0.,1,'PARAM',1,tt,info)
31        write(6,*)'info=',info
32        c=a+b
33        return 
34        end