Skip to content
  1. Dec 31, 2021
    • Ján Bobot's avatar
      2eb885b1
    • Ján Bobot's avatar
      Generalization of Mesh Initialization to handle Polygons · b37161a8
      Ján Bobot authored
      - added Polygon specialization for EntitySeed and EntitySeedHash that uses Array instead of StaticArray to handle variable number of cornerIds
      - refactored template argument EntityDimensionTag of SubentitySeedsCreator to EntityTopology to allow specializing for Polygons
      - added Polygon specialization for SubentitySeedsCreator to handle variable amounts of vertices per polygon
      - added getSubentitiesCount function to SubentitySeedsCreator to retrieve number of subentities to be created from passed in vertices
      - modified Initializer::initSubentityMatrix function to retrieve capacities from a method argument instead of creating them statically from traits and to pass in retrieved capacities to Mesh::setSubentitiesCounts
      - removed EntityInitializer::initSubvertexMatrix function and replaced all calls to it with Initializer::initSubentityMatrix
      - modified EntityInitializerLayer::initSuperentities and InitializerLayer::initEntities functions to calculate subentity matrix capacities before a call to Initializer::initSubentityMatrix
      b37161a8
    • Ján Bobot's avatar
      Extension of Mesh for Polygons · bdbd12c4
      Ján Bobot authored
      - added SubentityMatrixType to MeshSubentityTraits and modified SubentityMatrixType in MeshTraits to get SubentityMatrixType from MeshSubentityTraits based on Dimension and Subdimension template arguments
      - refactored template argument EntityTopologyDimensionTag of SubentityStorageLayer back to EntityTopology to allow specializing for Polygon
      - added Polygon specialization for MeshSubentityTraits that uses different SubentityMatrixType and leaves out any count related defined types
      - added Polygon specialization for SubentityStorageLayer, that unlike SubentityStorageLayer used in other cell topologies, additionaly stores subentiesCounts
      - added setSubentitiesCounts function to mesh and its storage related parent classes for setting subentitiesCounts in SubentityStorageLayer
      - modified getSubentitiesCount function in mesh to pass the unused entityIndex parameter to StorageBaseType::getSubentitiesCount to enable retrieving variable subentitiesCounts from Polygon specialization...
      bdbd12c4
    • Ján Bobot's avatar
      Added Polygon mesh topology · 40aa3f83
      Ján Bobot authored
      - added Polygon to Topologies
      - added mapping of Topologies::Polygon to EntityShape::Polygon in VTKTraits
      - added a missing reference to a variable in MeshBuilder::validate
      40aa3f83
    • Ján Bobot's avatar
      mesh refactoring: moved points from StorageLayerFamily to Mesh, replaced... · fb71dff8
      Ján Bobot authored
      mesh refactoring: moved points from StorageLayerFamily to Mesh, replaced template argument EntityTopology of SubentityStorageLayerFamily and SuperentityStorageLayerFamily by DimensionTag
      fb71dff8
  2. Dec 30, 2021
  3. Dec 29, 2021