*solidmap_end

Marks the end of a solid mapping command block.

Syntax

*solidmap_end options density_or_size bias_style biasing

Type

HyperMesh Tcl Modify Command

Description

This command is used by the solid mapping algorithm to indicate the end of a solid mapping command block. It must be paired with a *solidmap_begin command. A single solidmap mesh is a result of the block of commands.

In a solidmap command block, all of the commands before *solidmap_end are for preparing input data. *solidmap_end is the command that actually performs the solid mapping.

Inputs

options
Flags that indicate different modes for solid mapping. It is not recommended to manually set these bits. Instead, use them from an existing command file.
density_or_size
Either the element density or size in the along direction, depending on options in the options parameter.
bias_style
The type of biasing to use. Valid values are:
  • 0 - linear
  • 1 - exponential
  • 2 - bell curve
biasing
The biasing intensity value. A value of 0 indicates no biasing.

Example

For a solidmap using the following inputs:

Source geometry - lines 73 and 51;

Destination geometry - lines 32 and 41;

Along geometry - lines 74 and 75, surfaces 100 and 95, nodes 80 and 101-105;

Element size - 10

*solidmap_begin 1

*solidmap_prepare_userdataptr "SOURCE" 10
*createmark lines 1 73 51
*solid_prepare_entitylst lines 0

*solildmap_prepare_userdataptr "DEST" 2
*createmark lines 1 32 41
*solid_prepare_entitylst lines 0

*solidmap_prepare_userdataptr "ALONG" 7
*createmark lines 1 74 75
*solid_prepare_entitylst lines 0
*createmark surfs 1 100 95
*solid_prepare_entitylst surfs 0
*createlist nodes 2 80 101 102 103 104 105
*solid_prepare_nodeline 0

*solidmap_end 0 10 0 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}