Rev | Line | |
---|
[8] | 1 | ! $Header: /opt/cvsroot/jmfft/lib/jmsetnwork.f90,v 1.2 2004/04/01 15:48:32 teuler v8 $ |
---|
| 2 | ! JMFFTLIB : A library of portable fourier transform subroutines |
---|
| 3 | ! emulating Cray SciLib |
---|
| 4 | ! Author : Jean-Marie Teuler, CNRS, teuler@lcp.u-psud.fr |
---|
| 5 | ! |
---|
| 6 | ! Permission is granted to copy and distribute this file or modified |
---|
| 7 | ! versions of this file for no fee, provided the copyright notice and |
---|
| 8 | ! this permission notice are preserved on all copies. |
---|
| 9 | |
---|
| 10 | subroutine jmsetnwork(nwork) |
---|
| 11 | |
---|
| 12 | ! Subroutine appelee par l'utilisateur pour augmenter le nwork |
---|
| 13 | ! des routines 2d et 3d |
---|
| 14 | |
---|
| 15 | implicit none |
---|
| 16 | |
---|
| 17 | ! Arguments |
---|
| 18 | integer, intent(in) :: nwork |
---|
| 19 | |
---|
| 20 | ! Variables locales |
---|
| 21 | character(len=*), parameter :: nomsp = 'JMSETNWORK' |
---|
| 22 | integer :: nwork2 |
---|
| 23 | |
---|
| 24 | if (nwork <= 0) then |
---|
| 25 | call jmerreur1(nomsp,4,nwork) |
---|
| 26 | end if |
---|
| 27 | |
---|
| 28 | nwork2 = nwork |
---|
| 29 | call jmgetsetnwork(nwork2,'s') |
---|
| 30 | |
---|
| 31 | end subroutine jmsetnwork |
---|
Note: See
TracBrowser
for help on using the repository browser.