ShiftLayers

PURPOSE ^

SHIFTLAYERS - shift the value of a 3d field from ina layer to another

SYNOPSIS ^

function outvector=ShiftLayers(md,vector,initial_layer,final_layer)

DESCRIPTION ^

SHIFTLAYERS - shift the value of a 3d field from ina layer to another

   Usage:
      outvector=ShiftLayers(md,vector,initial_layer,final_layer)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function outvector=ShiftLayers(md,vector,initial_layer,final_layer)
0002 %SHIFTLAYERS - shift the value of a 3d field from ina layer to another
0003 %
0004 %   Usage:
0005 %      outvector=ShiftLayers(md,vector,initial_layer,final_layer)
0006 
0007 %Project initial_layer of vector onto 2d mesh
0008 vector2d=project2d(md,vector,initial_layer);
0009 
0010 %Extrude vector2d onto 3d vector, where vector2d is in the final layer of the mesh
0011 outvector=project3d(md,vector2d,'node',final_layer);

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003