OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
h3d_write_sh_tensor_array.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine h3d_write_sh_tensor_array (iok_part, iselect, nel, offset, nft, is_written, tensor, value)

Function/Subroutine Documentation

◆ h3d_write_sh_tensor_array()

subroutine h3d_write_sh_tensor_array ( integer, dimension(nel), intent(in) iok_part,
integer, intent(in) iselect,
integer, intent(in) nel,
integer, intent(in) offset,
integer, intent(in) nft,
integer, dimension(numelc+numeltg), intent(inout) is_written,
intent(inout) tensor,
intent(inout) value )

Definition at line 28 of file h3d_write_sh_tensor_array.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "com04_c.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER ,INTENT(IN) :: NEL,OFFSET,NFT,ISELECT
43 INTEGER ,DIMENSION(NEL) ,INTENT(IN) :: IOK_PART
44 my_real ,DIMENSION(NEL,3) ,INTENT(INOUT) :: VALUE
45 my_real ,DIMENSION(3,NUMELC+NUMELTG) ,INTENT(INOUT) :: tensor
46 INTEGER ,DIMENSION(NUMELC+NUMELTG) ,INTENT(INOUT) :: IS_WRITTEN
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I
51c=======================================================================
52 DO i = 1,nel
53 tensor(1,offset+nft+i) = value(i,1)
54 tensor(2,offset+nft+i) = value(i,2)
55 tensor(3,offset+nft+i) = value(i,3)
56 IF (iok_part(i) == 1 .AND. iselect == 1) is_written(offset+nft+i) = 1
57 END DO
58 value(:,:) = zero
59c-----------
60 RETURN
#define my_real
Definition cppsort.cpp:32