Double[] IResult.GetElementValues(IEnumerable<Int32> elementIds, Boolean computeMidSideNodes)

Gets the result's element values for the given list of element indices.

Examples

Gets the stress for a list of elements. lengths = reader.NumberValuesByElement(collector.Ids) stress_result = resultReader.GetResult("S") values = stress_result.GetElementValues(collector.Ids,False) collector.SetAllValues(lengths, values)

Parameters

  • elementIds
    The list of element indices.
  • computeMidSideNodes
    Type: Boolean
    boolean equal to true if the computation of the results at the midside nodes is required.

Return Value

Type: Double[]
Returns the result's element values in the same order as the elementIds array.