pw:: DomainUnstructured

Structured domain type

Derives From

pw::Object pw::Entity pw::GridEntity pw::Domain

Summary
Structured domain type
This action creates a new unstructured domain object.
This creates new unstructured domain objects on the given database entities.
This action creates new unstructured domain objects from the given connectors.
This action joins as many of the given unstructured domains together as possible.
This action creates a new unstructured domain by triangulating the quads in this domain.
This action checks if a list of edges would be valid for defining an unstructured domain.
This action gets a list of connectors that will close an edge to be used for an unstructured domain.
This default is the meshing algorithm of an unstructured domain when it is created.
This default attribute controls what type of cells a domain will contain in the isotropic region (all cells if T-Rex is not applied) after generation.
This default is the boundary decay factor of an unstructured domain when it is created.
This default attribute contains what type of cells a T-Rex generated domain will contain after generation.
This default is the maximum edge length of an unstructured domain when it is created.
This default is the minimum edge length of an unstructured domain when it is created.
This default is the maximum angle of normal deviation of an unstructured domain when it is created.
This default is the maximum distance of geometric deviation of an unstructured domain when it is created.
This default is the maximum included angle in degrees at a corner of a quad in an unstructured domain when it is created.
This default is the maximum warp (dihedral) angle in degrees between the two tris comprising a quad in an unstructured domain when it is created.
This default is the maximum number of T-Rex layers of an unstructured domain when it is created.
This attribute is the default minimum number of fully structured TRex layers of the domain.
This default is the growth rate of TRex layers of an unstructured domain when it is created.
This attribute is the default flag for pushing TRex attributes onto the connectors of domain when a new domain is created.
This default is the number of smoothing sweeps to apply to the initial spacing values of TRex layers of the domain.
This default is the relaxation factor of smoothing sweeps to apply to the intial spacing values of TRex layers for the domain when it is created.
This attribute indicates, if true the interior points are inserted when the domain is initialized or re-initialized; if false interior points will not be automatically generated.
This action gets the number of grid points on the perimeter of the entity.
This action gets the number of T-Rex cells in the domain generated by the last run of the solver.
This action gets the number of T-Rex triangular cells in the domain generated by the last run of the solver.
This action gets the number of T-Rex quadrilateral cells in the domain generated by the last run of the solver.
This action gets the number of T-Rex full layers in the domain generated by the last run of the solver.
This action gets the number of T-Rex total layers in the domain generated by the last run of the solver.
This action gets the number of match connectors emanating from the adj grid/wall BC conditions within this domain.
This action gets the minimum, average, and maximum initial spacing of the match connectors connected to the adj grid/wall BCs of this domain.
This action gets the minimum, average, and maximum growth rates of the match connectors connected to the adj grid/wall BCs of this domain.
This action gets the minimum, average, and maximum layer count of the match connectors connected to the adj grid/wall BCs of this domain.
This action removes all of the domain’s edges.
This action projects this domain onto one or more database entities.
This action joins the given domain to this domain; for joining multiple domains construct a pw::FaceUnstructured object.
This action flips the orientation of this domain.
This action aligns the normal orientation of the given domains with this domain.
This action gets the algorithm that was used when initializing the interior of the domain.
This action gets the calculated minimum surface edge length based on triangluar area of the cells.
This action gets the calculated maximum surface edge length based on triangluar area of the cells.
This action gets the minimum boundary edge length.
This action gets the maximum boundary edge length.
This action gets the named unstructured solver attribute.
This action sets the named unstructured solver attribute.
This attribute is the algorithm to use when initializing the interior of the domain.
This attribute controls what type of cells a domain will contain in the isotropic region (all cells if T-Rex is not applied) after generation.
This attribute is the shape constraint of the unstructured domain.
This attribute is the shape projection method when constrained to database entities.
This attribute is the boundary decay factor of the domain.
This attribute is the maximum edge length of the domain.
This attribute is the minimum edge length of the domain.
This attribute is the maximum angle of normal deviation of the domain.
This attribute is the maximum distance of geometric deviation of the domain.
This attribute is the maximum included angle in degrees at a corner of a quad in the domain.
This attribute is the maximum warp (dihedral) angle in degrees between the two tris comprising a quad in the domain.
This attribute is the flag which controls whether cells should be swapped if they contain no interior points.
This attribute is the maximum number of TRex layers of the domain.
This attribute is the minimum number of fully structured TRex layers of the domain.
This attribute is the growth rate of TRex layers for the domain.
This attribute is the flag for pushing TRex attributes onto the connectors of this domain.
This attribute is the number of smoothing sweeps to apply to the initial spacing values of TRex layers of the domain.
This attribute is the relaxation factor of smoothing sweeps to apply to the intial spacing values of TRex layers for the domain.
This attribute controls what type of cells a T-Rex generated domain will contain in the anisotropic region after generation.

Static Actions

create

pw::DomainUnstructured create

This action creates a new unstructured domain object.

Parameters

none

Returns

This action returns a new pw::DomainUnstructured object.

Example

In this example, an unstructured domain is created using 4 existing connectors.  For an unstructured domain, all connectors are added to the same edge object.

Code

set edge(1) [pw::Edge create]
$edge(1) addConnector $con(1)
$edge(1) addConnector $con(2)
$edge(1) addConnector $con(3)
$edge(1) addConnector $con(4)
set dom(1) [pw::DomainUnstructured create]
$dom(1) addEdge $edge(1)
puts [$dom(1) getName]

Output

dom-1

See Also

pw::Edge

createOnDatabase

pw::DomainUnstructured createOnDatabase ?-merge tolerance? ?-splitConnectors split_angle? ?-joinConnectors join_con_angle? ?-joinDomains join_dom_angle? ?-parametricConnectors mode? ?-reject rejectVar? entities

This creates new unstructured domain objects on the given database entities.

Parameters

-merge toleranceThis optional parameter is the tolerance for automatic connector merging; float [0, infinity); the default is 0 which means that no merging will be done.
-splitConnectors split_angleThis optional parameter is the turning angle at which to split connectors; float [0, 180); the default is 0, which means that no splitting will be done.
-joinConnectors join_con_angleThis optional parameter is the turning angle at which to join connectors; float [0, 180); the default is 0, which means that no joining will be done.
-joinDomains join_dom_angleThis optional parameter is the turning angle at which to join domains; float [0, 180]; the default is 0, which means that no joining will be done; 180 means everything will be joined.
-parametricConnectors modeThis optional parameter is the string mode for how connectors are created on parametric surfaces with options EndToEnd and Aligned.  The default is EndToEnd.
-reject rejectVarThis optional parameter is a variable name to recieve a list of pw::DatabaseEntity objects that were rejected for placing connectors on; if this is not given, no rejections will be reported.
entitiesThis parameter is a list of pw::DatabaseEntity objects.

Returns

This action returns a list of new pw::DomainUnstructured objects.

Information

This command supports progress updates.

Example

This example automatically creates unstructured domains on the database entities already existent within the file.  The -joinDomains parameter is used to indicate that domains will be joined for a turning angle of 60 degrees.

Code

set dbEnts [pw::Database getAll]
set unstDoms [pw::DomainUnstructured createOnDatabase \
-joinDomains 60 $dbEnts]
set totalPts 0
foreach ent $unstDoms {
set totalPts [expr {$totalPts + [$ent getPointCount]}]
}
puts "The total number of grid points is $totalPts."

Output

The total number of grid points is 5543.

createFromConnectors

pw::DomainUnstructured createFromConnectors ?-manifold? ?-solid? ?-reject rejectVar? connectors

This action creates new unstructured domain objects from the given connectors.

Parameters

-manifoldThis optional flag indicates to limit domain creation to maintain a manifold topology.
-solidThis optional flag indicates to create domains to close groups of domains into solids.
-reject rejectVarThis optional parameter is a variable name to recieve a list of pw::Connector objects that were not used in creating the domains.
connectorsThis parameter is a list of pw::Connector objects.

Returns

This action returns a list of new pw::DomainUnstructured objects.

Information

This command supports progress updates.

Notes

While this command will produce identical results when run with the exact same input, it may produce different results for slight variations in the input connectors.  The domains may be created in a different order or may be created with different orientations.  Use the explicit domain building routines (pw::Edge.create, pw::DomainUnstructured.create, pw::Edge.addConnector, and pw::Domain.addEdge commands) to build the domain in a controlled manner.

If this command is run inside of a Create pw::Mode, it will only be able to assemble domains from entities that were created within the same pw::Mode.  If entities created outside of the pw::Mode are also included, the assembly will fail.  Instead, use explicit assembly by creating the pw::Edge objects directly.

Example

This example automatically creates unstructured domains from the list of connectors provided.  The -reject parameter is used to specify which connectors were unused.

Code

set cons [pw::Grid getAll -type pw::Connector]
set unstDoms [pw::DomainUnstructured createFromConnectors \
-reject rejectCons $cons]
foreach ent $unstDoms {
puts [$ent getName]
}
foreach ent $rejectCons {
puts [$ent getName]
}

Output

dom-1
dom-2
dom-3
con-13
con-14

join

pw::DomainUnstructured join ?-reject rejectVar? domains

This action joins as many of the given unstructured domains together as possible.

Parameters

-reject rejectVarThis optional parameter is a variable name to recieve a list of pw::DomainUnstructured objects that were not used in joining.
domainsThis parameter is a list of pw::DomainUnstructured objects to join.

Returns

This action returns a list of the pw::DomainUnstructured objects that were joined.

Information

This command supports progress updates.

Example

This example joins as many unstructured domains as possible.  The -reject parameter is used to specify which domains were not joined.

Code

set doms [pw::Grid getAll -type pw::Domain]
set joinDoms \
[pw::DomainUnstructured join -reject unjoinDoms $doms]
puts "[llength $joinDoms] domains were joined."
puts "[llength $unjoinDoms] domains were not joined."

Output

3 domains were joined.
2 domains were not joined.

triangulate

$dom triangulate ?method?

This action creates a new unstructured domain by triangulating the quads in this domain.  The new domain is a copy whose attributes are the same as this domain, with the CellType and TRexCellType solver attributes set to TriangleQuad.  It is an error to triangulate an unstructured domain that does not contain quad elements.

Parameters

methodThis parameter is the triangulation method with options < BestFit | Initialized >.  The default is BestFit.

Returns

This action returns a pw::DomainUnstructured object.

qualifyEdges

pw::DomainUnstructured qualifyEdges edges

This action checks if a list of edges would be valid for defining an unstructured domain.

Parameters

edgesThis parameter is a list of pw::Edge objects.

Returns

This action returns a boolean, which is true if this is a valid set of edges.

Example

This example checks to see if the edge object created is valid for defining an unstructured domain.

Code

set edge(1) [pw::Edge create]
$edge(1) addConnector $con(1)
$edge(1) addConnector $con(2)
$edge(1) addConnector $con(3)
puts [pw::DomainUnstructured qualifyEdges $edge(1)]

Output

0

getAutoCompleteHint

pw::DomainUnstructured getAutoCompleteHint edge

This action gets a list of connectors that will close an edge to be used for an unstructured domain.  It will attempt to close the loop by adding connectors to either end of the edge until it either closes or a branch is encountered.

Parameters

edgeThis parameter is a pw::Edge object for which to get the hint.

Returns

This action returns a list of two lists of pw::Connector objects.

Information

The first list in the return value is a list of connectors to insert at the front of the edge definition (such that the first connector should be inserted at the beginning, the second connector should be inserted next at the beginning, etc.).  The second list in the return value is a list of connectors to append to the edge definition.  Either may be an empty list.

Example

This example is used to find which connectors will close an edge in order for it to be used for an unstructured domain.  The Tcl commmand lassign is used to split the list that is returned.

Code

set hint [pw::DomainUnstructured getAutoCompleteHint $edge(1)]
lassign $hint front end
set frontNames {}; set endNames {}
foreach ent $front {
lappend frontNames [$ent getName]
}
foreach ent $end {
lappend endNames [$ent getName]
}
puts $frontNames; puts $endNames

Output

(empty string)
con-4 con-5

Static Defaults

Algorithm

pw::DomainUnstructured get/setDefault Algorithm algorithm

This default is the meshing algorithm of an unstructured domain when it is created.

Type

This default is a string with options < Delaunay | AdvancingFront | AdvancingFrontOrtho >.

Default

The default value is Delaunay.

Example

This example shows how to set and get the default algorithm for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault Algorithm AdvancingFront
puts [pw::DomainUnstructured getDefault Algorithm]

Output

AdvancingFront

IsoCellType

pw::DomainUnstructured get/setDefault IsoCellType value

This default attribute controls what type of cells a domain will contain in the isotropic region (all cells if T-Rex is not applied) after generation.

Type

This attribute is a string with one of the values < Triangle > or < TriangleQuad >.  Triangle indicates that generated cells in the isotropic region (all cells when T-Rex is not applied) will be stored as triangles upon completion.  TriangleQuad indicates that isotropic cells will be stored in a quad-dominant fashion, generally containing both triangle and quad cell types.

Default

The default for this attribute is Triangle.

Example

This example shows how to set and get the default option to store generated cells as triangles for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault IsoCellType Triangle
puts [pw::DomainUnstructured getDefault IsoCellType]

Output

Triangle

BoundaryDecay

pw::DomainUnstructured get/setDefault BoundaryDecay value

This default is the boundary decay factor of an unstructured domain when it is created.

Type

float [0, 1]

Default

0.5

Example

This example shows how to set and get the default boundary decay factor for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault BoundaryDecay 0.7
puts [pw::DomainUnstructured getDefault BoundaryDecay]

Output

0.7

TRexCellType

pw::DomainUnstructured get/setDefault TRexCellType value

This default attribute contains what type of cells a T-Rex generated domain will contain after generation.

Type

This default attribute is a string with one of the values < Triangle > or < TriangleQuad >.  Triangle indicates that generated cells in the anisotropic (T-Rex) region will be stored as triangles upon completion.  TriangleQuad indicates that anisotropic cells will be stored in a quad-dominant fashion, generally containing both triangle and quad cell types.

Default

The default for this attribute is Triangle.

Example

This example shows how to set and get the default option to store T-Rex generated cells as triangles for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault TRexCellType Triangle
puts [pw::DomainUnstructured getDefault TRexCellType]

Output

Triangle

EdgeMaximumLength

pw::DomainUnstructured get/setDefault EdgeMaximumLength value

This default is the maximum edge length of an unstructured domain when it is created.

Type

Boundary or float (0, infinity)

Default

Boundary

Example

This example shows how to set and get the default maximum edge length for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault EdgeMaximumLength 50
puts [pw::DomainUnstructured getDefault EdgeMaximumLength]

Output

50.0

EdgeMinimumLength

pw::DomainUnstructured get/setDefault EdgeMinimumLength value

This default is the minimum edge length of an unstructured domain when it is created.

Type

Boundary or float (0, infinity)

Default

Boundary

Example

This example shows how to set and get the default minimum edge length for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault EdgeMinimumLength 10
puts [pw::DomainUnstructured getDefault EdgeMinimumLength]

Output

10.0

NormalMaximumDeviation

pw::DomainUnstructured get/setDefault NormalMaximumDeviation value

This default is the maximum angle of normal deviation of an unstructured domain when it is created.

Type

float [0, 180); 0 means do not restrict normal deviation.

Default

0

Example

This example shows how to set and get the default maximum angle of normal deviation for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault NormalMaximumDeviation 15
puts [pw::DomainUnstructured getDefault NormalMaximumDeviation]

Output

15.0

SurfaceMaximumDeviation

pw::DomainUnstructured get/setDefault SurfaceMaximumDeviation value

This default is the maximum distance of geometric deviation of an unstructured domain when it is created.

Type

float [0, infinity); 0 means do not restrict surface deviation.

Default

0

Example

This example shows how to set and get the default maximum distance of geometric deviation for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault SurfaceMaximumDeviation .001
puts [pw::DomainUnstructured getDefault SurfaceMaximumDeviation]

Output

0.001

QuadMaximumIncludedAngle

pw::DomainUnstructured get/setDefault QuadMaximumIncludedAngle value

This default is the maximum included angle in degrees at a corner of a quad in an unstructured domain when it is created.

Type

float (90, 180)

Default

174.0

Example

This example shows how to set and get the default quad maximum included angle for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault QuadMaximumIncludedAngle 150.0
puts [pw::DomainUnstructured getDefault QuadMaximumIncludedAngle]

Output

150.0

QuadMaximumWarpAngle

pw::DomainUnstructured get/setDefault QuadMaximumWarpAngle value

This default is the maximum warp (dihedral) angle in degrees between the two tris comprising a quad in an unstructured domain when it is created.

Type

float (0, 90)

Default

30.0

Example

This example shows how to set and get the default maximum quad warp angle for unstructured domains created within a script.

Code

pw::DomainUnstructured setDefault QuadMaximumWarpAngle 60.0
puts [pw::DomainUnstructured getDefault QuadMaximumWarpAngle]

Output

60.0

TRexMaximumLayers

pw::DomainUnstructured get/setDefault TRexMaximumLayers layers

This default is the maximum number of T-Rex layers of an unstructured domain when it is created.

Type

This attribute is an integer with the range [0, infinity), where 0 means that there should be no TRex layers.

Default

The default of this attribute is 0.

TRexFullLayers

pw::DomainUnstructured get/setDefault TRexFullLayers layers

This attribute is the default minimum number of fully structured TRex layers of the domain.

Type

This attribute is an integer with the range [0, infinity), where 0 means that there should be no minimum fully structured TRex layers.

Default

The default of this attribute is 0.

TRexGrowthRate

pw::DomainUnstructured get/setDefault TRexGrowthRate growth_rate

This default is the growth rate of TRex layers of an unstructured domain when it is created.

Type

This attribute is a float with the range [1.0, infinity).

Default

The default of this attribute is 1.3.

TRexPushAttributes

pw::DomainUnstructured get/setDefault TRexPushAttributes push

This attribute is the default flag for pushing TRex attributes onto the connectors of domain when a new domain is created.

Type

This attribute is a boolean, where true means that TRex attributes are pushed down onto the connectors.

Default

The default of this attribute is false.

TRexSpacingSmoothing

pw::DomainUnstructured get/setDefault TRexSpacingSmoothing smooth

This default is the number of smoothing sweeps to apply to the initial spacing values of TRex layers of the domain.

Type

This attribute is an integer with the range [0, infinity), where 0 means no smoothing is applied to the initial spacing values.

Default

The default of this attribute is 3.

TRexSpacingRelaxationFactor

pw::DomainUnstructured get/setDefault TRexSpacingRelaxationFactor factor

This default is the relaxation factor of smoothing sweeps to apply to the intial spacing values of TRex layers for the domain when it is created.

Type

This attribute is a float with the range [0.0, 1.0), where 0 means no smoothing is applied to the initial spacing values.

Default

The default of this attribute is 0.7.

Static Attributes

InitializeInterior

pw::DomainUnstructured get/setInitializeInterior init

This attribute indicates, if true the interior points are inserted when the domain is initialized or re-initialized; if false interior points will not be automatically generated.

Type

boolean

Default

true

Example

This example shows how to set and get the initialize interior attribute for unstructured domains created within a script.

Code

pw::DomainUnstructured setInitializeInterior false
puts [pw::DomainUnstructured getInitializeInterior]

Output

0

Instance Actions

getPerimeterPointCount

$dom getPerimeterPointCount

This action gets the number of grid points on the perimeter of the entity.  The first points of an unstructured domain are the perimeter points.

Parameters

none

Returns

This action returns the number of perimeter points.

Example

This example shows how to get the number of perimeter points for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getPerimeterPointCount]

Output

40

getTRexCellCount

$dom getTRexCellCount

This action gets the number of T-Rex cells in the domain generated by the last run of the solver.  Note that there is no distinction between non-recombinable and recombinable anisotropic cells.

Parameters

none

Returns

This action returns the number of anisotropic (T-Rex) cells.

Example

This example shows how to get the number of T-Rex cells for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getTRexCellCount]

Output

82

getTRexTriCellCount

$dom getTRexTriCellCount

This action gets the number of T-Rex triangular cells in the domain generated by the last run of the solver.  Note that there is no distinction between non-recombinable and recombinable anisotropic cells.

Parameters

none

Returns

This action returns the number of anisotropic (T-Rex) cells.

Example

This example shows how to get the number of T-Rex cells for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getTRexTriCellCount]

Output

82

getTRexQuadCellCount

$dom getTRexQuadCellCount

This action gets the number of T-Rex quadrilateral cells in the domain generated by the last run of the solver.  Note that there is no distinction between non-recombinable and recombinable anisotropic cells.

Parameters

none

Returns

This action returns the number of anisotropic (T-Rex) cells.

Example

This example shows how to get the number of T-Rex cells for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getTRexQuadCellCount]

Output

82

getTRexFullLayerCount

$dom getTRexFullLayerCount

This action gets the number of T-Rex full layers in the domain generated by the last run of the solver.  This may be different than the user-specified amount in the solver attributes

Parameters

none

Returns

This action returns the number of T-Rex full layers.

getTRexTotalLayerCount

$dom getTRexTotalLayerCount

This action gets the number of T-Rex total layers in the domain generated by the last run of the solver.  This may be different than the user-specified amount in the solver attributes

Parameters

none

Returns

This action returns the number of T-Rex total layers.

getTRexMatchConnectorCount

$dom getTRexMatchConnectorCount ?-nodeCount nodeCountVar?

This action gets the number of match connectors emanating from the adj grid/wall BC conditions within this domain.

Parameters

-nodeCount nodeCountVarThis optional parameter is a variable name to recieve the count of nodes where connectors emanate from the adj grid/wall BC conditions within this domain.  This can be greater than the number of connectors when both ends of a connector touch a adj grid/wall BC condition.

Returns

This action returns the number of connectors.

getTRexMatchInitialSpacing

$dom getTRexMatchInitialSpacing

This action gets the minimum, average, and maximum initial spacing of the match connectors connected to the adj grid/wall BCs of this domain.

Parameters

none

Returns

This action returns a vector of the minimum, average, and maximum of the initial spacings.  If there are no match connectors, 0.0 will be returned for each of these values

Example

This example shows how to get the initial spacing on match connectors from an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getTRexMatchInitialSpacing]

Output

[0.0100 0.0123 0.0200]

getTRexMatchGrowthRate

$dom getTRexMatchGrowthRate

This action gets the minimum, average, and maximum growth rates of the match connectors connected to the adj grid/wall BCs of this domain.

Parameters

none

Returns

This action returns a vector of the minimum, average, and maximum of the growth rates.  If there are no match connectors, 0.0 will be returned for each of these values

Example

This example shows how to get the average growth rate on match connectors from an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getTRexMatchGrowthRate]

Output

[1.0100 1.0123 1.0200]

getTRexMatchLayerCount

$dom getTRexMatchLayerCount

This action gets the minimum, average, and maximum layer count of the match connectors connected to the adj grid/wall BCs of this domain.

Parameters

none

Returns

This action returns a vector of the minimum, average, and maximum of the layer counts.  If there are no match connectors, 0.0 will be returned for each of these values

Example

This example shows how to get the average initial spacing on match connectors from an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getTRexMatchLayerCount]

Output

[10.0 20.0 30.0]

removeEdges

$dom removeEdges ?-preserve?

This action removes all of the domain’s edges.

Parameters

-preserveIf this flag is specified, the edges are not deleted after being removed.  The default behavior is to delete the edges (but not the connectors).

Returns

This action returns nothing.

project

$dom project ?-type proj_type? ?-direction direction? ?-center center? ?-axis point normal? ?-interior? ?dbentities?

This action projects this domain onto one or more database entities.

Parameters

-type proj_typeThis optional parameter is the string projection type to perform with options < ClosestPoint | Linear | SphericalIn | SphericalOut | CylindricalIn | CylindricalOut >.
-direction directionThis optional parameter is the projection vector for linear projection.  The default is determined by the entity and can be queried using <getDefaultProjectDirection>.
-center centerThis optional parameter is the center point vector for spherical projection.  The default is (0, 0, 0).
-axis point normalThis optional parameter is the axis defined by a point vector and normal vector used by cylindrical projection; The default point is (0, 0, 0) and the default normal is (1, 0, 0).
-interiorIf this optional flag is present, only the interior of the entities are projected.
dbentitiesThis parameter is the optional list of database enitities to project onto.  If none are given, project to any currently enabled, visible database entities.

Returns

This action returns nothing.

Example

This example shows how to project a domain linearly along the Z axis onto the given quilt.  $dom(1) and $qlt(1) are referencing an existing domain and quilt.

Code

$dom(1) project -type Linear -direction "0 0 1" $qlt(1)

join

$dom join domain

This action joins the given domain to this domain; for joining multiple domains construct a pw::FaceUnstructured object.

Parameters

domainThis parameter is the pw::Domain object to join.

Returns

This action returns nothing.

Example

This example shows how to join two unstructured domains.  $dom(1) and $dom(2) are referencing existing domains.

Code

$dom(1) join $dom(2)

flipOrientation

$dom flipOrientation

This action flips the orientation of this domain.  A domain used in a baffle face can not be flipped.

Parameters

none

Returns

This action returns nothing.

Example

This example shows how to flip the orientation of an unstructured domain.  $dom(1) is referencing an existing domain.

Code

$dom(1) flipOrientation

alignOrientation

$dom alignOrientation domains

This action aligns the normal orientation of the given domains with this domain.  If any domains in the given list are not topologically connected to this domain, they will be ignored.  An error is raised if a domain in a baffle face is specified in the list of domains.

Parameters

domainsThis parameter is a list of pw::DomainUnstructured objects to align.

Returns

This action returns nothing.

Example

This example shows how to align the orientation of several unstructured domains with $dom(1).  $dom(1), $dom(2) and $dom(3) are referencing existing domains.

Code

$dom(1) alignOrientation [list $dom(2) $dom(3)]

getSolvedAlgorithm

$dom getSolvedAlgorithm

This action gets the algorithm that was used when initializing the interior of the domain.

Parameters

none

Returns

This action returns a string with possible values < Delaunay | AdvancingFront | AdvancingFrontOrtho | NotSolved >.  See the unstructured solver attribute Algorithm for more information on the different algorithms.  If the

Example

This example shows how to get the solved algoritm.  $dom(1) is referencing an existing domain.

Code

$dom(1) getSolvedAlgorithm
puts [$dom(1) getSolvedAlgorithm]

Output

Delaunay

getSurfaceEdgeMinimumLength

$dom getSurfaceEdgeMinimumLength

This action gets the calculated minimum surface edge length based on triangluar area of the cells.

Parameters

none

Returns

This action returns the minimum surface edge length.

Example

This example shows how to get the minimum surface edge length for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getSurfaceEdgeMinimumLength]

Output

1.0344963221899095

getSurfaceEdgeMaximumLength

$dom getSurfaceEdgeMaximumLength

This action gets the calculated maximum surface edge length based on triangluar area of the cells.

Parameters

none

Returns

This action returns the maximum surface edge length.

Example

This example shows how to get the maximum surface edge length for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getSurfaceEdgeMaximumLength]

Output

2.013040874595685

getBoundaryEdgeMinimumLength

$dom getBoundaryEdgeMinimumLength

This action gets the minimum boundary edge length.

Parameters

none

Returns

This action returns the minimum boundary edge length.

Example

This example shows how to get the minimum boundary edge length for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getBoundaryEdgeMinimumLength]

Output

1.4729734060253794

getBoundaryEdgeMaximumLength

$dom getBoundaryEdgeMaximumLength

This action gets the maximum boundary edge length.

Parameters

none

Returns

This action returns the maximum boundary edge length.

Example

This example shows how to get the maximum boundary edge length for an unstructured domain.  $dom(1) is referencing an existing domain.

Code

puts [$dom(1) getBoundaryEdgeMaximumLength]

Output

1.4907229247565557

getUnstructuredSolverAttribute

$dom getUnstructuredSolverAttribute att_name ?value_type?

This action gets the named unstructured solver attribute.

Parameters

att_nameThis parameter is the name string of the attribute to get.
value_typeThis parameter is the type string of value to get; < Actual | Default >.

Returns

This action returns the actual or default value of the attribute.

Example

This example shows how to set and get the default and actual values of the unstructured solver attribute: normal maximum deviation.  $dom(1) is referencing an existing domain.

Code

pw::DomainUnstructured setDefault NormalMaximumDeviation 10.0
$dom(1) setUnstructuredSolverAttribute NormalMaximumDeviation 15.0
puts [$dom(1) getUnstructuredSolverAttribute \

NormalMaximumDeviation Actual]

puts [$dom(1) getUnstructuredSolverAttribute \

NormalMaximumDeviation Default] Output

15.0
10.0

See Also

Unstructured Solver Attributes

setUnstructuredSolverAttribute

$dom setUnstructuredSolverAttribute att_name att_value

This action sets the named unstructured solver attribute.

Parameters

att_nameThis parameter is the name of the attribute to set.
att_valueThis parameter is the value to set the attribute.

Returns

This action returns nothing.

Example

This example shows how to set the unstructured solver attribute: maximum edge length.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute EdgeMaximumLength Boundary

See Also

Unstructured Solver Attributes

Unstructured Solver Attributes

Algorithm

$dom get/setUnstructuredSolverAttribute Algorithm < Delaunay | AdvancingFront | AdvancingFrontOrtho >.

This attribute is the algorithm to use when initializing the interior of the domain.

Type

This attribute is a string with options < Delaunay | AdvancingFront | AdvancingFrontOrtho >.  Algorithms are differentiated in the manner in which they place interior grid points.  The Delaunay method inserts points at the circumsphere centroid of existing triangles, later smoothing the position to improve cell quality.  The AdvancingFront method inserts points adjacent to the (advancing) boundary at positions that form nearly equilateral triangles with the front edge.  The AdvancingFrontOrtho method inserts grid point at positions normal to the front edge, generally resulting in two right angle triangles.

Default

The default for this attribute is Delaunay.

Example

This example shows how to set and get the unstructured solver attribute: Algorithm.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute Algorithm Delaunay
puts [$dom(1) getUnstructuredSolverAttribute Algorithm]

Output

Delaunay

IsoCellType

$dom get/setUnstructuredSolverAttribute IsoCellType value

This attribute controls what type of cells a domain will contain in the isotropic region (all cells if T-Rex is not applied) after generation.

Type

This attribute is a string with one of the values < Triangle > or < TriangleQuad >.  Triangle indicates that generated cells in the isotropic region (all cells when T-Rex is not applied) will be stored as triangles upon completion.  TriangleQuad indicates that isotropic cells will be stored in a quad-dominant fashion, generally containing both triangle and quad cell types.

Default

The default for this attribute is Triangle.

Example

This example shows how to set and get the unstructured solver attribute: IsoCellType.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute \
IsoCellType TriangleQuad
puts [$dom(1) getUnstructuredSolverAttribute \
IsoCellType]

Output

TriangleQuad

ShapeConstraint

$dom get/setUnstructuredSolverAttribute ShapeConstraint < constraint | db_list >

This attribute is the shape constraint of the unstructured domain.

Type

This attribute is a string < Free | Database > or an explicit list of pw::DatabaseEntity objects

Default

The default for this attribute is Free or Database, depending on the connectors used in constructing this domain.

Example

This example shows how to set and get the unstructured solver attribute: shape constraint.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute ShapeConstraint Free
puts [$dom(1) getUnstructuredSolverAttribute ShapeConstraint]

Output

Free

ShapeProjection

$dom get/setUnstructuredSolverAttribute ShapeProjection < method | normal >

This attribute is the shape projection method when constrained to database entities.

Type

This attribute is a string with options < Closest | Linear > or an explicit normal for linear projection.  When Linear is specified the projection uses the domain’s <DefaultProjectDirection>.

Default

The default for this attribute is Closest.

Example

This example shows how to set and get the unstructured solver attribute: shape projection.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute ShapeProjection Linear
puts [$dom(1) getUnstructuredSolverAttribute ShapeProjection]

Output

Linear

BoundaryDecay

$dom get/setUnstructuredSolverAttribute BoundaryDecay value

This attribute is the boundary decay factor of the domain.

Type

This attribute is a float with the range [0, 1].

Default

The default for this attribute is set using the current value of the default BoundaryDecay.

Example

This example shows how to set and get the unstructured solver attribute: boundary decay factor.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute BoundaryDecay 0.6
puts [$dom(1) getUnstructuredSolverAttribute BoundaryDecay]

Output

0.6

EdgeMaximumLength

$dom get/setUnstructuredSolverAttribute EdgeMaximumLength value

This attribute is the maximum edge length of the domain.

Type

This attribute is the string Boundary or a float with the range (0, infinity).

Default

The default for this attribute is set using the current value of the default EdgeMaximumLength.

Example

This example shows how to set and get the unstructured solver attribute: maximum edge length.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute EdgeMaximumLength 2.5
puts [$dom(1) getUnstructuredSolverAttribute EdgeMaximumLength]

Output

2.5

EdgeMinimumLength

$dom get/setUnstructuredSolverAttribute EdgeMinimumLength value

This attribute is the minimum edge length of the domain.

Type

This attribute is the string Boundary or a float with the range (0, infinity).

Default

The default for this attribute is set using the current value of the default EdgeMinimumLength.

Example

This example shows how to set and get the unstructured solver attribute: minimum edge length.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute EdgeMinimumLength Boundary
puts [$dom(1) getUnstructuredSolverAttribute EdgeMinimumLength]

Output

Boundary

NormalMaximumDeviation

$dom get/setUnstructuredSolverAttribute NormalMaximumDeviation value

This attribute is the maximum angle of normal deviation of the domain.

Type

This attribute is a float with the range [0, 180), where 0 means do not restrict normal deviation.

Default

The default for this attribute is set using the current value of the default NormalMaximumDeviation.

Example

This example shows how to set and get the unstructured solver attribute: normal maximum deviation.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute NormalMaximumDeviation 10
puts [$dom(1) getUnstructuredSolverAttribute \
NormalMaximumDeviation]

Output

10.0

SurfaceMaximumDeviation

$dom get/setUnstructuredSolverAttribute SurfaceMaximumDeviation value

This attribute is the maximum distance of geometric deviation of the domain.

Type

This attribute is a float with the range [0, infinity), where 0 means do not restrict surface deviation.

Default

The default for this attribute is set using the current value of the default SurfaceMaximumDeviation.

Example

This example shows how to set and get the unstructured solver attribute: surface maximum deviation.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute SurfaceMaximumDeviation .01
puts [$dom(1) getUnstructuredSolverAttribute \
SurfaceMaximumDeviation]

Output

0.01

QuadMaximumIncludedAngle

$dom get/setUnstructuredSolverAttribute QuadMaximumIncludedAngle value

This attribute is the maximum included angle in degrees at a corner of a quad in the domain.

float (90, 180)

Default

174.0 Type: This attribute is a float with the range (90, 180).

Default

The default for this attribute is set using the current value of the default QuadMaximumIncludedAngle.

Example

This example shows how to set and get the unstructured solver attribute: maximum quad included angle.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute \
QuadMaximumIncludedAngle 160
puts [$dom(1) getUnstructuredSolverAttribute \
QuadMaximumIncludedAngle]

Output

160.0

QuadMaximumWarpAngle

$dom get/setUnstructuredSolverAttribute QuadMaximumWarpAngle value

This attribute is the maximum warp (dihedral) angle in degrees between the two tris comprising a quad in the domain.

Type

This attribute is a float with the range (0, 90).

Default

The default for this attribute is set using the current value of the default QuadMaximumWarpAngle.

Example

This example shows how to set and get the unstructured solver attribute: quad maximum warp angle.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute QuadMaximumWarpAngle 30
puts [$dom(1) getUnstructuredSolverAttribute \
QuadMaximumWarpAngle]

Output

30.0

SwapCellsWithNoInteriorPoints

$dom get/setUnstructuredSolverAttribute SwapCellsWithNoInteriorPoints value

This attribute is the flag which controls whether cells should be swapped if they contain no interior points.  If this is set to true, the unstructured solver will attempt to swap edges of cells in order to remove cells with no interior points, although the removal is not guaranteed for domains with a coarse interior

Type

This attribute is a boolean, where true means to swap cell edges if the cells has no interior points.

Default

The default for this attribute is false.

TRexMaximumLayers

$dom get/setUnstructuredSolverAttribute TRexMaximumLayers value

This attribute is the maximum number of TRex layers of the domain.

Type

This attribute is an integer with the range [0, infinity), where 0 means that there should be no TRex layers.

Default

The default of this attribute is 0.

Example

This example shows how to set and get the unstructured solver attribute: maximum T-Rex layers.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute TRexMaximumLayers 20
puts [$dom(1) getUnstructuredSolverAttribute TRexMaximumLayers]

Output

20

TRexFullLayers

$dom get/setUnstructuredSolverAttribute TRexFullLayers value

This attribute is the minimum number of fully structured TRex layers of the domain.

Type

This attribute is an integer with the range [0, infinity), where 0 means that there should be no minimum fully structured TRex layers.

Default

The default of this attribute is 0.

Example

This example shows how to set and get the unstructured solver attribute: full T-Rex layers.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute TRexFullLayers 10
puts [$dom(1) getUnstructuredSolverAttribute TRexFullLayers]

Output

10

TRexGrowthRate

$dom get/setUnstructuredSolverAttribute TRexGrowthRate value

This attribute is the growth rate of TRex layers for the domain.

Type

This attribute is a float with the range [1.0, infinity).

Default

The default of this attribute is 1.3.

Example

This example shows how to set and get the unstructured solver attribute: T-Rex growth rate.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute TRexGrowthRate 1.1
puts [$dom(1) getUnstructuredSolverAttribute TRexGrowthRate]

Output

1.1

TRexPushAttributes

$dom get/setUnstructuredSolverAttribute TRexPushAttributes value

This attribute is the flag for pushing TRex attributes onto the connectors of this domain.

Type

This attribute is a boolean, where true means that TRex attributes are pushed down onto the connectors.

Default

The default of this attribute is false.

Example

This example shows how to set and get the unstructured solver attribute: T-Rex push attributes.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute TRexPushAttributes true
puts [$dom(1) getUnstructuredSolverAttribute TRexPushAttributes]

Output

1

TRexSpacingSmoothing

$dom get/setUnstructuredSolverAttribute TRexSpacingSmoothing value

This attribute is the number of smoothing sweeps to apply to the initial spacing values of TRex layers of the domain.

Type

This attribute is an integer with the range [0, infinity), where 0 means no smoothing is applied to the initial spacing values.

Default

The default of this attribute is 3.

Example

This example shows how to set and get the unstructured solver attribute: T-Rex spacing smoothing.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute TRexSpacingSmoothing 0
puts [$dom(1) getUnstructuredSolverAttribute TRexSpacingSmoothing]

Output

0

TRexSpacingRelaxationFactor

$dom get/setUnstructuredSolverAttribute TRexSpacingRelaxationFactor value

This attribute is the relaxation factor of smoothing sweeps to apply to the intial spacing values of TRex layers for the domain.

Type

This attribute is a float with the range [0.0, 1.0), where 0 means no smoothing is applied to the initial spacing values.

Default

The default of this attribute is 0.7.

Example

This example shows how to set and get the unstructured solver attribute: T-Rex spacing relaxation factor.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute \
TRexSpacingRelaxationFactor .5
puts [$dom(1) getUnstructuredSolverAttribute \
TRexSpacingRelaxationFactor]

Output

0.5

TRexCellType

$dom get/setUnstructuredSolverAttribute TRexCellType value

This attribute controls what type of cells a T-Rex generated domain will contain in the anisotropic region after generation.

Type

This attribute is a string with one of the values < Triangle > or < TriangleQuad >.  Triangle indicates that generated cells in the anisotropic (T-Rex) region will be stored as triangles upon completion.  TriangleQuad indicates that anisotropic cells will be stored in a quad-dominant fashion, generally containing both triangle and quad cell types.

Default

The default for this attribute is Triangle.

Example

This example shows how to set and get the unstructured solver attribute: TRexCellType.  $dom(1) is referencing an existing domain.

Code

$dom(1) setUnstructuredSolverAttribute \
TRexCellType TriangleQuad
puts [$dom(1) getUnstructuredSolverAttribute \
TRexCellType]

Output

TriangleQuad
pw::DomainUnstructured create
This action creates a new unstructured domain object.
pw::DomainUnstructured createOnDatabase ?-merge tolerance? ?-splitConnectors split_angle? ?-joinConnectors join_con_angle? ?-joinDomains join_dom_angle? ?-parametricConnectors mode? ?-reject rejectVar? entities
This creates new unstructured domain objects on the given database entities.
pw::DomainUnstructured createFromConnectors ?-manifold? ?-solid? ?-reject rejectVar? connectors
This action creates new unstructured domain objects from the given connectors.
pw::DomainUnstructured join ?-reject rejectVar? domains
This action joins as many of the given unstructured domains together as possible.
$dom triangulate ?method?
This action creates a new unstructured domain by triangulating the quads in this domain.
pw::DomainUnstructured qualifyEdges edges
This action checks if a list of edges would be valid for defining an unstructured domain.
pw::DomainUnstructured getAutoCompleteHint edge
This action gets a list of connectors that will close an edge to be used for an unstructured domain.
pw::DomainUnstructured get/setDefault Algorithm algorithm
This default is the meshing algorithm of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault IsoCellType value
This default attribute controls what type of cells a domain will contain in the isotropic region (all cells if T-Rex is not applied) after generation.
pw::DomainUnstructured get/setDefault BoundaryDecay value
This default is the boundary decay factor of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault TRexCellType value
This default attribute contains what type of cells a T-Rex generated domain will contain after generation.
pw::DomainUnstructured get/setDefault EdgeMaximumLength value
This default is the maximum edge length of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault EdgeMinimumLength value
This default is the minimum edge length of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault NormalMaximumDeviation value
This default is the maximum angle of normal deviation of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault SurfaceMaximumDeviation value
This default is the maximum distance of geometric deviation of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault QuadMaximumIncludedAngle value
This default is the maximum included angle in degrees at a corner of a quad in an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault QuadMaximumWarpAngle value
This default is the maximum warp (dihedral) angle in degrees between the two tris comprising a quad in an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault TRexMaximumLayers layers
This default is the maximum number of T-Rex layers of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault TRexFullLayers layers
This attribute is the default minimum number of fully structured TRex layers of the domain.
pw::DomainUnstructured get/setDefault TRexGrowthRate growth_rate
This default is the growth rate of TRex layers of an unstructured domain when it is created.
pw::DomainUnstructured get/setDefault TRexPushAttributes push
This attribute is the default flag for pushing TRex attributes onto the connectors of domain when a new domain is created.
pw::DomainUnstructured get/setDefault TRexSpacingSmoothing smooth
This default is the number of smoothing sweeps to apply to the initial spacing values of TRex layers of the domain.
pw::DomainUnstructured get/setDefault TRexSpacingRelaxationFactor factor
This default is the relaxation factor of smoothing sweeps to apply to the intial spacing values of TRex layers for the domain when it is created.
pw::DomainUnstructured get/setInitializeInterior init
This attribute indicates, if true the interior points are inserted when the domain is initialized or re-initialized; if false interior points will not be automatically generated.
$dom getPerimeterPointCount
This action gets the number of grid points on the perimeter of the entity.
$dom getTRexCellCount
This action gets the number of T-Rex cells in the domain generated by the last run of the solver.
$dom getTRexTriCellCount
This action gets the number of T-Rex triangular cells in the domain generated by the last run of the solver.
$dom getTRexQuadCellCount
This action gets the number of T-Rex quadrilateral cells in the domain generated by the last run of the solver.
$dom getTRexFullLayerCount
This action gets the number of T-Rex full layers in the domain generated by the last run of the solver.
$dom getTRexTotalLayerCount
This action gets the number of T-Rex total layers in the domain generated by the last run of the solver.
$dom getTRexMatchConnectorCount ?-nodeCount nodeCountVar?
This action gets the number of match connectors emanating from the adj grid/wall BC conditions within this domain.
$dom getTRexMatchInitialSpacing
This action gets the minimum, average, and maximum initial spacing of the match connectors connected to the adj grid/wall BCs of this domain.
$dom getTRexMatchGrowthRate
This action gets the minimum, average, and maximum growth rates of the match connectors connected to the adj grid/wall BCs of this domain.
$dom getTRexMatchLayerCount
This action gets the minimum, average, and maximum layer count of the match connectors connected to the adj grid/wall BCs of this domain.
$dom removeEdges ?-preserve?
This action removes all of the domain’s edges.
$dom project ?-type proj_type? ?-direction direction? ?-center center? ?-axis point normal? ?-interior? ?dbentities?
This action projects this domain onto one or more database entities.
Unsuctured face type
$dom flipOrientation
This action flips the orientation of this domain.
$dom alignOrientation domains
This action aligns the normal orientation of the given domains with this domain.
$dom getSolvedAlgorithm
This action gets the algorithm that was used when initializing the interior of the domain.
$dom getSurfaceEdgeMinimumLength
This action gets the calculated minimum surface edge length based on triangluar area of the cells.
$dom getSurfaceEdgeMaximumLength
This action gets the calculated maximum surface edge length based on triangluar area of the cells.
$dom getBoundaryEdgeMinimumLength
This action gets the minimum boundary edge length.
$dom getBoundaryEdgeMaximumLength
This action gets the maximum boundary edge length.
$dom getUnstructuredSolverAttribute att_name ?value_type?
This action gets the named unstructured solver attribute.
$dom setUnstructuredSolverAttribute att_name att_value
This action sets the named unstructured solver attribute.
$dom get/setUnstructuredSolverAttribute ShapeConstraint < constraint | db_list >
This attribute is the shape constraint of the unstructured domain.
$dom get/setUnstructuredSolverAttribute ShapeProjection < method | normal >
This attribute is the shape projection method when constrained to database entities.
$dom get/setUnstructuredSolverAttribute SwapCellsWithNoInteriorPoints value
This attribute is the flag which controls whether cells should be swapped if they contain no interior points.
Base type for all glyph types
Entity type
Domain type
Structured domain type
Edge type
A string is an array of characters.
Base type for all database entities
Connector type
pw::Edge create
This action creates a new edge object.
$edge addConnector connector
This action adds a connector to the end of this edge.
$dom addEdge edge
This action adds an edge to the domain.
The mode base type
A boolean is represented as a 0 or 1, with 0 being false and 1 being true.
An integer is a whole number.
A float is a fractional number.
A vector is a list of float values.