Salome HOME
Copyright update: 2016
[tools/yacsgen.git] / Examples / fort1 / code1.f
1 C Copyright (C) 2009-2016  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        SUBROUTINE SERV1(compo,a,b,c)
21        include 'calcium.hf'
22        integer compo(2)
23        real*8 tt,a,b,c
24        write(6,*)a,b
25        tt=125.45
26        CALL cpeDB(compo,CP_ITERATION,0.,1,'PARAM',1,tt,info)
27        write(6,*)'info=',info
28        c=a+b
29        return 
30        end