Line | |
---|
1 | subroutine adjust |
---|
2 | c---multiply parameter vv(1) in elements vv(2) through vv(3) by vv(4) |
---|
3 | c------------------------------------------------------------------------ |
---|
4 | save |
---|
5 | c |
---|
6 | include 'param_sz.h' |
---|
7 | include 'var_char.h' |
---|
8 | include 'misccom.h' |
---|
9 | include 'syscom.h' |
---|
10 | include 'ucom.h' |
---|
11 | c |
---|
12 | c-------------------------------------------------------------------------- |
---|
13 | c* |
---|
14 | if(nn.lt.4)return |
---|
15 | np=vv(1) |
---|
16 | if(np.lt.2 .or. np.gt.10)return |
---|
17 | n1=vv(2) |
---|
18 | if(n1.lt.1 .or. n1.gt.nel)return |
---|
19 | n2=vv(3) |
---|
20 | if(n2.lt.n1)return |
---|
21 | if(n2.gt.nel)n2=nel |
---|
22 | fac=vv(4) |
---|
23 | do 10 n=n1,n2 |
---|
24 | el(np,n)=fac*el(np,n) |
---|
25 | 10 continue |
---|
26 | return |
---|
27 | end |
---|
28 | c++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* |
---|
Note: See
TracBrowser
for help on using the repository browser.