map

   'map' <slave-set> <master-set>  ->
         [['surf']|
          ['volu']|
          [ 'x'|'y'|'z'|'rx'|'ry'|'rz']]  ->
          'ds'[<nr>] ['nex']
This keyword is used to map (or interpolate) values from one mesh to another. For example

map slave master surf ds1

will map the values from Dataset 1 to the nodes of set slave. All available datasets will be mapped if no number follows the “ds” parameter. The parameter “surf” is used for mapping of values from element faces to element faces and their nodes (2D or 3D). Do not use internal nodes or volume elements! A typical application would be the mapping of pressure. The parameter “volu” triggers the mapping from a 3D mesh to another 3D mesh of the same shape (i.e. temperatures). The parameters “x,y,z” are used for mapping from 2D to 2D/3D in the indicated direction. The parameters “rx,ry,rz” are used for rotational mapping of 2D to 2D/3D around the x,y,z-axis. The “master” set must include the nodes and their elements. The optional parameter 'nex' prevents extrapolation and outside slave nodes get a zero value and they are stored in set '-notMapped'. Unconnected nodes are not allowed. Usually the master nodes (on which the values are known) were included from an external result file with the “read” command (with the parameter “add”). For further details see “How to map loads” in the appendix. Remark: The 3D mapper uses multi threading. The number of cores is defined in cgx.h (NTHREADS).