Input file: Gnodes.i

Code reference: subroutine node_geometries in file moz.grids.lib.f

Function: Gnodes.i is a plain text file which defines the geometries of the nodes.

Variable(s)

Description

itempr

Template number - a number which identifies this template

idoc

Number of lines of documentation which follow.

Mozart will read and discard the next idoc lines. This allows a user to provide some comments in the input file which will be ignored by Mozart.

[idoc lines of documentation]


idoc

Number of lines documentation which follow. (This gives the user another comment section.)

[idoc lines of documentation]


ipmode

Processor mode number

If ipmode > 0, then ipmode = number of the processor which should execute this template.

If ipmode = 0, then all processors will execute this template. This is known as "peer mode".

idoc

Number of lines of documentation which follow. (This gives the user another comment section.)

[idoc lines of documentation]


node_i

mesh_i

node_i = node number for which this template applies

mesh_i = mesh number for which this template applies

If node_i = 0, the subroutine node_geometries will use the value of node_j which was passed as an argument when node_geometries was called.

If mesh_i = 0, the subroutine node_geometries will use the value of mesh_j which was passed as an argument when node_geometries was called..

ilines

number of lines to skip over if this processor is not using this template

node_geometry_type

node_tdim


1 = rectangles

dimension of space in which you embed this node.

isubtype

subtype of node_geometry_type

isubtype = 1 means ????

isubtype = 2 means ????

x0, y0, lx, ly


[code reference: these variables are read by subroutine node_geom2d]

x0, y0 = origin of node

lx = width

ly = height



Example file:

1 ! # template PQ4-E  GEOMETRY
0 !nodoc
0 !nodoc
0 ! peer mode -->
0 !nodoc
1 1 ! node mesh
0 !nodoc
3 ! skip lines if not right template
1 2 ! type tdim
1 !subtype
0. 0. 1. 1.
3 ! # template PQ4-L  GEOMETRY
0 !nodoc
0 !nodoc
0 ! peer mode -->
0 !nodoc
3 3 ! node mesh
0 !nodoc
3 ! skip lines if not right template
1 2 ! type tdim
2 !subtype
-2. 0. 10. 1.  
0 ! end template