Element.setGaussScriptedResults


setGaussScriptedResults(iGauss, val, component)

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 If the given name does not already exist, this call creates a new component to receive the values 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

iGaussLONG_PTRGauss point index
valdoubleResults value
componentstringUser results component
Return valuenone 

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 specifyResultsUpdateModule setNodeScriptedResults setScriptedResults

Back to Element

Back to Overview