@icedependentdof()
Returns ICE dependent node DOFs for an independent node.
Syntax
@icedependentdof (independent_node_id, index)
Type
HyperMesh Template Function
Description
Returns ICE dependent node DOFs 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(counter1,0)
*loopif([counter1 < independentnodesmax])
*string(" *icelink(")
*pointerset(pointer1,independentnodes,counter1)
*field(integer,pointer1.pointervalue,0)
*string(",")
*counterset(counter2,[@icedependentcount(pointer1.pointervalue)])
*field(integer,counter2,0)
*counterset(counter3,0)
*loopif([counter3 < counter2])
*string(",")
*field(integer,[@icedependentnode(pointer1.pointervalue,counter3)],0)
*string(",")
*field(integer,[@icedependentdof(pointer1.pointervalue,counter3)],0)
*counterinc(counter3)
*endloop()
*counterinc(counter1)
*string(")")
*end()
*endloop()
*output()
Version History
14.0