TOC PREV NEXT INDEX

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

&in

A reference to a field containing any type of structured mesh, plus Node_Data.axis

plane

The orthoslicing parameters. These are passed through to the selected base module.

Output

out

The output is the same as the DVswitch selection.

Example

Libraries.Main.Mappers.orthoslice

File

v/dv.v modules/orthoslc.c

See also

DVorthoslice_rect
DVorthoslice_struct
DVorthoslice_unif

TOC PREV NEXT INDEX