<commit_before>package etomica.space;

import etomica.Default;
import etomica.Space;
import etomica.lattice.IndexIteratorSequential;
import etomica.math.geometry.TruncatedOctahedron;

/**
 * Boundary that is in the shape of a rectangular parallelepiped.  
 * Periodicity in each direction is specified by subclass.
 */
/*
 * History Created on Jan 24, 2005 by kofke
 */
public class BoundaryTruncatedOctahedron extends Boundary implements BoundaryPeriodic {

    public BoundaryTruncatedOctahedron(Space space) {
        super(space, new TruncatedOctahedron(space));<commit_msg>Updating comment from rectangular to truncated-octahedron specific.<commit_after>package etomica.space;

import etomica.Default;
import etomica.Space;
import etomica.lattice.IndexIteratorSequential;
import etomica.math.geometry.TruncatedOctahedron;

/**
 * This class enables creation of a periodic truncated-octahedron boundary.  Truncated
 * octahedrons are spacefillers; unlike spheres, about which voids form when placed in
 * an array, truncated octahedrons can be flush with other truncated octahedrons at 
 * every face when grouped in an array.  Moreover, truncated octahedrons are 
 * considerably more sphere-like than cubes, and using a truncated octahedron as a 
 * boundary greatly increases the isotropy of the system.
 * 
 * There are no subclasses for periodic and nonperiodic boundary conditions for this
 * class because nonperiodic boundary conditions are not applicable for truncated
 * octahedrons.
 */
/*
 * History Created on Jan 24, 2005 by kofke
 */
public class BoundaryTruncatedOctahedron extends Boundary implements BoundaryPeriodic {

    public BoundaryTruncatedOctahedron(Space space) {
        super(space, new TruncatedOctahedron(space));
{'fraction_non_alphanumeric': 0.0577472841623785, 'fraction_numerical': 0.00686106346483705, 'mean_word_length': 5.055363321799308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6711339', 'n_tokens_mistral': 523, 'n_tokens_neox': 466, 'n_words': 173}