Specify a named result value at one gauss point of this element Only really useful when called for all gauss points of all visible elements Then allows (for example) drawing of beam contours and diagrams of any arbitary values. The entity may be given either as a name, or as an index previously registered using addScriptedResultsEntity. If the entity is given as a string and does not already exist, it will be created. If the component does not already exist within the given entity, a new component is created within the given entity. Note that the results will not be removed from the system (and so will potentially use a large amount of memory) until explicitly removed with a call to flushScriptedResults
iGauss | LONG_PTR | Gauss point index |
val | double | Results value |
entity | string or long | Name or index of results entity |
component | string | Name of results component |
Return value | none |
Example
nGauss = element.countGaussPoints()
' loop nodes
for k = 0 to nGauss
' set gauss point results
call element.setGaussScriptedResults(k, myResultValue, "MyComponentName")
next
See also flushScriptedResults initialiseScriptedResults setScriptedResultsEntity specifyResultsUpdateScript setNodeScriptedResults setScriptedResults
Back to Element
Back to Overview