![]() |
![]() |
![]() |
![]() |
DVcrop
Synopsis
discover the type of mesh, then call the corresponding cropping base module
macro DVcrop {
Mesh_Struct+Node_Data+Iparam &in {
nnodes+req;
};
int+Iparam min[in.ndim];
int+Iparam max[in.ndim];
DVcrop_struct DVcrop_struct {
in => <-.DVfld_match.links.link2;
&min => <-.min;
&max => <-.max;
};
DVcrop_unif DVcrop_unif {
in => <-.DVfld_match.links.link0;
&min => <-.min;
&max => <-.max;
};
DVcrop_rect DVcrop_rect {
in => <-.DVfld_match.links.link1;
&min => <-.min;
&max => <-.max;
};
DVfld_match DVfld_match {
Mesh_Struct+IPort2
![]() |
![]() |
![]() |
![]() |