Skip to content

Commit b1fa2c1

Browse files
committed
Fix bug in OpenCG compatibility module
1 parent 9b1292f commit b1fa2c1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2011-2015 Massachusetts Institute of Technology
1+
Copyright (c) 2011-2016 Massachusetts Institute of Technology
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of
44
this software and associated documentation files (the "Software"), to deal in

openmc/opencg_compatible.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def get_opencg_lattice(openmc_lattice):
820820

821821
# Create an OpenCG Lattice to represent this OpenMC Lattice
822822
name = openmc_lattice.name
823-
dimension = openmc_lattice.dimension
823+
dimension = openmc_lattice.shape
824824
pitch = openmc_lattice.pitch
825825
lower_left = openmc_lattice.lower_left
826826
universes = openmc_lattice.universes

readme.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ transport code based on modern methods. It is a constructive solid geometry,
1010
continuous-energy transport code that uses ACE format cross sections. The
1111
project started under the Computational Reactor Physics Group at MIT.
1212

13-
Complete documentation on the usage of OpenMC is hosted on GitHub at
14-
http://mit-crpg.github.io/openmc/. If you are interested in the project or would
15-
like to help and contribute, please send a message to the OpenMC User's Group
13+
Complete documentation on the usage of OpenMC is hosted on Read the Docs at
14+
http://openmc.readthedocs.io. If you are interested in the project or would like
15+
to help and contribute, please send a message to the OpenMC User's Group
1616
`mailing list`_.
1717

1818
------------
@@ -49,7 +49,7 @@ License
4949
OpenMC is distributed under the MIT/X license_.
5050

5151
.. _mailing list: https://groups.google.com/forum/?fromgroups=#!forum/openmc-users
52-
.. _installation instructions: http://mit-crpg.github.io/openmc/usersguide/install.html
53-
.. _Troubleshooting section: http://mit-crpg.github.io/openmc/usersguide/troubleshoot.html
52+
.. _installation instructions: http://openmc.readthedocs.io/en/latest/usersguide/install.html
53+
.. _Troubleshooting section: http://openmc.readthedocs.io/en/latest/usersguide/troubleshoot.html
5454
.. _Issues: https://github.com/mit-crpg/openmc/issues
55-
.. _license: http://mit-crpg.github.io/openmc/license.html
55+
.. _license: http://openmc.readthedocs.io/en/latest/license.html

0 commit comments

Comments
 (0)