OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sstatic_ptr_m.F
Go to the documentation of this file.
1C
2C This file is part of MUMPS 5.5.1, released
3C on Tue Jul 12 13:17:24 UTC 2022
4C
5C
6C Copyright 1991-2022 CERFACS, CNRS, ENS Lyon, INP Toulouse, Inria,
7C Mumps Technologies, University of Bordeaux.
8C
9C This version of MUMPS is provided to you free of charge. It is
10C released under the CeCILL-C license
11C (see doc/CeCILL-C_V1-en.txt, doc/CeCILL-C_V1-fr.txt, and
12C https://cecill.info/licences/Licence_CeCILL-C_V1-en.html)
13C
16 REAL, DIMENSION(:), POINTER, SAVE :: smumps_tmp_ptr
17 CONTAINS
18 SUBROUTINE smumps_set_static_ptr(ARRAY)
19 REAL, DIMENSION(:), TARGET :: ARRAY
20 smumps_tmp_ptr => array
21 RETURN
22 END SUBROUTINE smumps_set_static_ptr
23 SUBROUTINE smumps_get_tmp_ptr(PTR)
24#if defined(MUMPS_F2003)
25 REAL, DIMENSION(:), POINTER, INTENT(OUT) :: PTR
26#else
27 REAL, DIMENSION(:), POINTER :: PTR
28#endif
29 ptr => smumps_tmp_ptr
30 RETURN
31 END SUBROUTINE smumps_get_tmp_ptr
32 END MODULE smumps_static_ptr_m
real, dimension(:), pointer, save, public smumps_tmp_ptr
subroutine, public smumps_get_tmp_ptr(ptr)
subroutine smumps_set_static_ptr(array)