@icedependentnode()

Returns ICE dependent nodes for an independent node.

Syntax

@icedependentnode (independent_node_id, index)

Type

HyperMesh Template Function

Description

Returns ICE dependent nodes for an independent node.

Inputs

independent_node_id
The ID of the ICE independent node.
index
The index of the dependent node, starting from 0.

Example

*elements(57,0,"ICE","")
*format()
*string("*ice(")
*field(integer,id,0)
*string(",")
*field(integer,type,0)
*string(",")
*field(integer,independentnodesmax,0)
*string(",")
*field(integer,dependentnodesmax,0)
*string(")")
*end()

*counterset(counter9,0)
*loopif([counter9 < independentnodesmax])
*string("  *icelink(")
*pointerset(pointer1,independentnodes,counter9)
*field(integer,pointer1.pointervalue,0)
*counterset(counter4,[@icedependentcount(pointer1.pointervalue)])
*counterset(counter3,0)
*string(",")
*field(integer,counter4,0)
*loopif([counter3 < counter4])
*string(",")
*field(integer,[@icedependentnode(pointer1.pointervalue,counter3)],0)
*string(",")
*field(integer,[@icedependentdof(pointer1.pointervalue,counter3)],0)
*counterinc(counter3)
*endloop()
*counterinc(counter9)
*string(")")
*end()
*endloop()
*output()

Version History

14.0