OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
h3d_write_tensor.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| h3d_write_tensor ../engine/source/output/h3d/h3d_results/h3d_write_tensor.F
25!||--- called by ------------------------------------------------------
26!|| h3d_nodal_tensor ../engine/source/output/h3d/h3d_results/h3d_nodal_tensor.F
27!|| h3d_oned_tensor ../engine/source/output/h3d/h3d_results/h3d_oned_tensor.F
28!|| h3d_quad_tensor ../engine/source/output/h3d/h3d_results/h3d_quad_tensor.F
29!|| h3d_solid_tensor_1 ../engine/source/output/h3d/h3d_results/h3d_solid_tensor_1.F
30!|| h3d_sph_tensor ../engine/source/output/h3d/h3d_results/h3d_sph_tensor.F
31!||====================================================================
32 SUBROUTINE h3d_write_tensor(
33 . IOK_PART ,IS_WRITTEN ,TENSOR ,NEL ,OFFSET ,NFT,
34 . VALUE ,IS_WRITTEN_TENSOR)
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 my_real, DIMENSION(6,*), INTENT(INOUT) :: VALUE
43 my_real, DIMENSION(6,*), INTENT(OUT) :: tensor
44 INTEGER, INTENT(IN) :: NEL,OFFSET,NFT
45 INTEGER, DIMENSION(*), INTENT(IN) :: IOK_PART
46 INTEGER, DIMENSION(*), INTENT(OUT) :: IS_WRITTEN
47 INTEGER, DIMENSION(*), INTENT(IN) :: IS_WRITTEN_TENSOR
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER :: I
52C-----------------------------------------------
53 DO i=1,nel
54 tensor(1,offset+nft+i) = value(1,i)
55 tensor(2,offset+nft+i) = value(2,i)
56 tensor(3,offset+nft+i) = value(3,i)
57 tensor(4,offset+nft+i) = value(4,i)
58 tensor(5,offset+nft+i) = value(5,i)
59 tensor(6,offset+nft+i) = value(6,i)
60 IF(iok_part(i) == 1 .AND. is_written_tensor(i) == 1) is_written(offset+nft+i)= 1
61 value(1:6,i) = zero
62 ENDDO
63
64 RETURN
65 END SUBROUTINE h3d_write_tensor
#define my_real
Definition cppsort.cpp:32
subroutine h3d_write_tensor(iok_part, is_written, tensor, nel, offset, nft, value, is_written_tensor)