File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -920,22 +920,6 @@ def urc(self):
920920 z = self .origin [2 ] + self .height / 2.0
921921 return x , y , z
922922
923- def adopt_plotbase (self , view ):
924- """
925- Applies only the geometric aspects of a view to the current view
926-
927- Parameters
928- ----------
929-
930- view : PlotView
931- View to take parameters from
932- """
933- self .origin = view .origin
934- self .width = view .width
935- self .height = view .height
936- self .h_res = self .h_res
937- self .v_res = self .v_res
938- self .basis = view .basis
939923
940924class PlotView :
941925 """Setup the view of the model.
@@ -1057,6 +1041,23 @@ def getDomains(domain_type):
10571041
10581042 return domains
10591043
1044+ def adopt_plotbase (self , view ):
1045+ """
1046+ Applies only the geometric aspects of a view to the current view
1047+
1048+ Parameters
1049+ ----------
1050+
1051+ view : PlotView
1052+ View to take parameters from
1053+ """
1054+ self .origin = view .origin
1055+ self .width = view .width
1056+ self .height = view .height
1057+ self .h_res = view .h_res
1058+ self .v_res = view .v_res
1059+ self .basis = view .basis
1060+
10601061
10611062class DomainView ():
10621063 """ Represents view settings for OpenMC cell or material.
You can’t perform that action at this time.
0 commit comments