PoreMS 0.2
  • API
  • Process
  • Molecule
  • Pore
  • Workflow
  • Site
    • Page
        • Pattern

    Pattern¶

    class porems.pattern.Pattern¶

    This class is a container for individual pattern classes.

    Block Generation

    _block(self, dim, block) Recursively duplicate and translate a given molecule block in all given dimensions.
    _orientation(self, orient) Rotate pore orientation, so that the specified axis becomes the z-axis.
    generate(self, size, orient) Generate full block structure.

    Getter Methods

    get_block(self) Return the generated molecule object.
    get_gap(self) Return the gap between the pore block and the box edge in all dimensions.
    get_orient(self) Return the orientation of the block.
    get_repeat(self) Return the repeat distances in all dimensions.
    get_size(self) Return the size of the generated block structure.

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 1.6.6.