You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
638 B
20 lines
638 B
2 years ago
|
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
||
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
||
|
C NTESS, the U.S. Government retains certain rights in this software.
|
||
|
C
|
||
|
C See packages/seacas/LICENSE for details
|
||
|
|
||
|
C=======================================================================
|
||
|
SUBROUTINE PLTMMO(FACT,UMAP)
|
||
|
COMMON /CENBOD/XC,YC,ZC
|
||
|
REAL UMAP(*)
|
||
|
|
||
|
R = (UMAP(18)-XC)**2 + (UMAP(18+1)-YC)**2 + (UMAP(18+2)-ZC)**2
|
||
|
R = SQRT(R)*FACT
|
||
|
UMAP(18) = XC - R*UMAP(27)
|
||
|
UMAP(18+1) = YC - R*UMAP(27+1)
|
||
|
UMAP(18+2) = ZC - R*UMAP(27+2)
|
||
|
RETURN
|
||
|
|
||
|
END
|