#include "implicit_f.inc"
#include "vectorize.inc"
Go to the source code of this file.
◆ nlocal_acc()
| subroutine nlocal_acc |
( |
type(nlocal_str_), target | nloc_dmg, |
|
|
integer | nodft, |
|
|
integer | nodlt ) |
Definition at line 30 of file nlocal_acc.F.
31
32
33
35
36
37
38#include "implicit_f.inc"
39
40
41
42 INTEGER NODFT, NODLT
43 TYPE(NLOCAL_STR_), TARGET :: NLOC_DMG
44
45
46
47 INTEGER N,NDDL,NPOS
48 my_real,
POINTER,
DIMENSION(:) ::
49 . f,m
50
51
52
53
54 f => nloc_dmg%FNL(1:nloc_dmg%L_NLOC,1)
55 m => nloc_dmg%MASS(1:nloc_dmg%L_NLOC)
56#include "vectorize.inc"
57
58 DO n = nodft,nodlt
59
60 npos = nloc_dmg%POSI(n)
61
62 nddl = nloc_dmg%POSI(n+1) - npos
63
64 f(npos:npos+nddl-1) = f(npos:npos+nddl-1) / m(npos:npos+nddl-1)
65 ENDDO
66
67 RETURN