[yt-svn] commit/yt: David Collins: adding _type_name and _con_args to InLineExtractedRegionBase
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Jun 18 04:57:33 PDT 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/045ea2c21426/
Changeset: 045ea2c21426
Branch: yt
User: David Collins
Date: 2013-06-17 20:46:44
Summary: adding _type_name and _con_args to InLineExtractedRegionBase
Affected #: 1 file
diff -r c23cd3cde4a41d7eae1e0ca657729acfc1c947d1 -r 045ea2c214262c4b6d024a5f88b5a94e838d60c6 yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -3121,6 +3121,8 @@
In-line extracted regions accept a base region and a set of field_cuts to
determine which points in a grid should be included.
"""
+ _type_name = "cut_region"
+ _con_args = ("_base_region", "_field_cuts")
def __init__(self, base_region, field_cuts, **kwargs):
cen = base_region.get_field_parameter("center")
AMR3DData.__init__(self, center=cen,
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list