FeResPost Web Site                     FeResPost Online User Manual

I.4.4.10 “deriveByRemapping” method

deriveByRemapping” method returns a Result object obtained by remapping the values of the Result object to which the method is applied. This method takes three parameters:

1.
“FromTo”: a String object specifying the correspondence between the keys of the old Result object and the keys of the new Result object. Eleven different values of the “FromTo” argument are allowed:

The different “fromTo” parameters are summarized in Table I.4.7. Remark that one distinguishes the “CornerNodes” (Result keys associated to elements and nodes at corner of elements) and the “ElemsAndNodes” (Result keys associated to elements and nodes of elements but not necessarily at their corners).

2.
“Method”: a String object used to specify the way values associated to different keys are merged into a single value (if this happens). An example of situation in which the case may occur is for example when one uses the “NodesToCenters” option and that the values of several nodes are merged into the value of a single element. Five values of “Method” argument are allowed:

Note that when vectorial or tensorial Results are merged (“sum” or “average” options, their respective coordinate systems must be identical. Otherwise an error message is issued.

3.
“DB”: a DataBase object used by the method to recover the association of node and elements. This association is often needed to perform the remapping.

The “deriveByRemapping” method can be used with Real as well as Complex Results. Only, for Complex Results, there are some restriction about the type of “Method” argument for merging values: the “min” and “max” values are not accepted for Complex Results.


Table I.4.7: The different “fromTo” arguments for “derivebyRemapping” method.




“fromTo” argument Source target Target key types








“CentersToCorners” Element Centers Element Corners EN**




“CentersToNodes” Element Centers Nodes of Elements -N**




“NodesToCenters” Nodes Element Centers E-**




“NodesToCorners” Nodes Element corners EN**




“CornersToCenters” Element Corners Element Centers E-**




“CornersToNodes” Element Corners Nodes of Elements -N**




“MergeLayers” Layers - EN-*




“MergeLayersKeepId” Layers Layers EN**




“MergeSubLayers” Sub-layers - EN*-




“MergeSubLayersKeepId” Sub-layers Sub-layers EN**




“MergeAll” All keys - —-




“CentersToElemsAndNodes”Element Centers Element Nodes EN**




“CornersToElemsAndNodes”Element Corners Element Nodes EN**




“CentersToCornerNodes” Element CentersElement Corner Nodes -N**




“ElemsAndNodesToCenters” Element Nodes Element Centers -N**




“ElemsAndNodesToNodes” Element Nodes Nodes -N**




“NodesToElemsAndNodes” Nodes Element Nodes EN**