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. |