| 1 |
C Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 2 |
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 3 |
C NTESS, the U.S. Government retains certain rights in this software. |
| 4 |
C |
| 5 |
C See packages/seacas/LICENSE for details |
| 6 |
|
| 7 |
C======================================================================= |
| 8 |
SUBROUTINE PLTMMO(FACT,UMAP) |
| 9 |
COMMON /CENBOD/XC,YC,ZC |
| 10 |
REAL UMAP(*) |
| 11 |
|
| 12 |
R = (UMAP(18)-XC)**2 + (UMAP(18+1)-YC)**2 + (UMAP(18+2)-ZC)**2 |
| 13 |
R = SQRT(R)*FACT |
| 14 |
UMAP(18) = XC - R*UMAP(27) |
| 15 |
UMAP(18+1) = YC - R*UMAP(27+1) |
| 16 |
UMAP(18+2) = ZC - R*UMAP(27+2) |
| 17 |
RETURN |
| 18 |
|
| 19 |
END |