![]() |
![]() |
![]() |
![]() |
DVorthoslice
Synopsis
discover the type of mesh, then call the corresponding orthoslicing base module
macro DVorthoslice {
Mesh_Struct+Node_Data+Iparam &in {
nnodes+req;
};
int+Iparam axis;
int+Iparam plane;
DVorthoslice_struct DVorthoslice_struct {
in => <-.DVfld_match.links.link2;
&axis => <-.axis;
&plane => <-.plane;
};
DVorthoslice_unif DVorthoslice_unif {
in => <-.DVfld_match.links.link0;
&axis => <-.axis;
&plane => <-.plane;
};
DVorthoslice_rect DVorthoslice_rect {
in => <-.DVfld_match.links.link1;
&axis => <-.axis;
&plane => <-.plane;
};
DVfld_match DVfld_match {
Mesh_Struct+IPort2 &in=> <-.in;
};
DVswitch DVswitch {
in => {DVorthoslice_unif.out, DVorthoslice_rect.out,
DVorthoslice_struct.out};
index => DVfld_match.index;
};
olink out => DVswitch.out;
};Description
DVorthoslice is a utility base module. It discovers what type of mesh (Mesh_Struct, Mesh_Rect, or Mesh_Unif) its input field has, then passes control through DVswitch to the corresponding base module (DVorthoslice_struct, DVorthoslice_rect, or DVorthoslice_unif).
Input
Output
Example
Libraries.Main.Mappers.orthoslice
File
See also
![]() |
![]() |
![]() |
![]() |