CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
getnodel.f File Reference

Go to the source code of this file.

Functions/Subroutines

integer function getnodel (ii, jface, nope)
 

Function/Subroutine Documentation

◆ getnodel()

integer function getnodel ( integer  ii,
integer  jface,
integer  nope 
)
24 !
25 ! author: Saskia Sitzmann
26 !
27  implicit none
28 !
29  integer ii,jface,nope,
30  & ifaceq(8,6),ifacet(6,4),ifacew1(4,5),ifacew2(8,5)
31 !
32  include "gauss.f"
33 !
34  data ifaceq /4,3,2,1,11,10,9,12,
35  & 5,6,7,8,13,14,15,16,
36  & 1,2,6,5,9,18,13,17,
37  & 2,3,7,6,10,19,14,18,
38  & 3,4,8,7,11,20,15,19,
39  & 4,1,5,8,12,17,16,20/
40  data ifacet /1,3,2,7,6,5,
41  & 1,2,4,5,9,8,
42  & 2,3,4,6,10,9,
43  & 1,4,3,8,10,7/
44 !
45  data ifacew1 /1,3,2,0,
46  & 4,5,6,0,
47  & 1,2,5,4,
48  & 2,3,6,5,
49  & 3,1,4,6/
50 !
51 ! nodes per face for quadratic wedge elements
52 !
53  data ifacew2 /1,3,2,9,8,7,0,0,
54  & 4,5,6,10,11,12,0,0,
55  & 1,2,5,4,7,14,10,13,
56  & 2,3,6,5,8,15,11,14,
57  & 3,1,4,6,9,13,12,15/
58 !
59  getnodel=0
60 !
61  if((nope.eq.20).or.(nope.eq.8)) then
62  getnodel=ifaceq(ii,jface)
63  elseif((nope.eq.10).or.(nope.eq.4)) then
64  getnodel=ifacet(ii,jface)
65  elseif(nope.eq.6) then
66  getnodel=ifacew1(ii,jface)
67  else
68  getnodel=ifacew2(ii,jface)
69  endif
70 !
integer function getnodel(ii, jface, nope)
Definition: getnodel.f:24
Hosted by OpenAircraft.com, (Michigan UAV, LLC)