Skip to content

Conversation

@yguclu
Copy link
Member

@yguclu yguclu commented Oct 7, 2025

  • Add new factory class method from_file
  • Use __init__ method in all factory class methods (from_file, from_discrete_mapping, and from_topological_domain)
  • Discourage direct use of __init__ (factory class methods should be preferred)
  • Add mandatory pdim parameter (number of dimensions of physical domain) to __init__
  • Clean up and document (with docstrings) the factory class methods

yguclu and others added 28 commits September 18, 2025 15:27
- Write 3D geometry in parallel without `mpi_dims_mask`
- Read 3D geometry in parallel with `mpi_dims_mask`
- Verify correct distribution of domain for any number of MPI processes
Add parameter `mpi_dims_mask` to class method `from_discrete_mapping` and bound method `read`.
Use new variable for dictionary with number of cells for each patch.
test methods from_discrete_mapping and from_topological_domain with mpi_dims_mask
- Add new constructor Geometry.from_file
- Remove `filename` from __init__ parameters
commit ccbd6e3
Author: Yaman Güçlü <[email protected]>
Date:   Wed Oct 1 06:25:42 2025 +0200

    Allow `mpi_dims_mask` with geometry file (#526)

    Add the optional parameter `mpi_dims_mask` to the constructor of class
    `Geometry`, as well as its class methods `from_discrete_mapping` and
    `from_topological_domain`. Add unit tests to verify that the domain is
    correctly decomposed.

    ---------

    Co-authored-by: Alisa Kirkinskaia <[email protected]>
    Co-authored-by: Alisa Kirkinskaia <[email protected]>
- Add function `get_available_mappings`
- Clean up function `discrete_mapping` and add docstring to it
@yguclu yguclu added the CAD Geometric operations on NURBS, geometry files, etc... label Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CAD Geometric operations on NURBS, geometry files, etc... Next Release Must be in next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants