Skip to content

Settings and activity

3 results found

  1. 3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General  ·  Admin →
    An error occurred while saving the comment
    Stephane Ploix commented  · 

    Vit,

    You already have this possibility in VTK/ParaView, (look for the "Quadrature" keywork in class names in VTK), but you have to develop your own reader to fill the necessary information to VTK.
    Basically, you need to :
    1/ for each bloc, and for each cell type in the bloc, define a vtkQuadraturePointsDefinition and store those definitions in a vtkQuadratureSchemeDictionnary that you set in vtkInformationKeys to your bloc.
    2/ store the array of values of your field at integration points a a field array.
    3/ As the number of quadrature points do not match the number of cells nor the number of points, you have to create a cell-centered offset array that will store for each cell the offset of the first quadrature point for this cell.
    4/ Then, you will be able to use the vtkQuadraturePointsGenerator that will generate points at each integration point in all your cells and map the values stored in the field array.

    This mechanism allow to use some filters between the reader and the vtkQuadraturePointsGenerator, as long as those filters do not modify the cell type.

  2. 80 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  General  ·  Admin →
    Stephane Ploix supported this idea  · 
  3. 141 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General  ·  Admin →
    Stephane Ploix supported this idea  ·