From 75dc4131dc6538f7ed243ef95eb274cb9ddd7a18 Mon Sep 17 00:00:00 2001 From: tjlaboss Date: Tue, 22 May 2018 13:36:50 -0400 Subject: [PATCH] Long live PEP8 --- openmc/mesh.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openmc/mesh.py b/openmc/mesh.py index 7c6fc4867..3f53582d5 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -183,19 +183,19 @@ class Mesh(IDManagerMixin): return mesh @classmethod - def fromRectLattice(cls, lattice, division=1, mesh_id=None, name=''): + def from_rect_lattice(cls, lattice, division=1, mesh_id=None, name=''): """Create mesh from an existing rectangular lattice Parameters ---------- lattice : openmc.RectLattice Rectangular lattice used as a template for this mesh - division : int, optional + division : int Number of mesh cells per lattice cell. If not specified, there will be 1 mesh cell per lattice cell. - mesh_id : int, optional + mesh_id : int Unique identifier for the mesh - name : str, optional + name : str Name of the mesh Returns