![]() |
![]() |
![]() |
![]() |
DVslice
Synopsis
discover the type of mesh, then call the corresponding slicing base module
macro DVslice {
Mesh+Iparam &in { /* input field */
nnodes+req;
};
Plane_Grid+Xform+Iparam &plane { /* slice plane */
points+req;
};
float+notify+IPort2 dist; /* plane distance */
int+read+notify+opt+IPort2 map_comp[];
int+read+notify+opt+IPort2 cell_data[];
DVslice_gen DVslice_gen {
in => <-.DVfld_match.links.link2;
plane => <-.plane;
&dist => <-.dist;
&map_comp => <-.map_comp;
&cell_data => <-.cell_data;
};
DVslice_unif DVslice_unif {
in => <-.DVfld_match.links.link0;
plane => <-.plane;
&dist => <-.dist;
&map_comp => <-.map_comp;
};
DVslice_rect DVslice_rect {
in => <-.DVfld_match.links.link1;
plane => <-.plane;
&dist => <-.dist;
&map_comp => <-.map_comp;
};
DVfld_match DVfld_match {
in => <-.in;
};
DVswitch DVswitch {
in => {DVslice_unif.out, DVslice_rect.out,
DVslice_gen.out};
index => DVfld_match.index;
};
olink out => DVswitch.out;
};Description
DVslice is a utility base module. It discovers what type of mesh (general (structured or unstructured), Mesh_Rect, or Mesh_Unif) its input field has, then passes control through DVswitch to the corresponding base module (DVslice_gen, DVslice_rect, or DVslice_unif).
Input
Output
Example
File
Utility DVM macros DVMslice_param, Slice, SliceTxt3D, SliceTxt2D
See also
![]() |
![]() |
![]() |
![]() |