lib/trinitycrmod/trinity_gs2.rb in trinitycrmod-0.7.10 vs lib/trinitycrmod/trinity_gs2.rb in trinitycrmod-0.7.11
- old
+ new
@@ -47,10 +47,12 @@
class TrinityComponent::Gryfx < CodeRunner::Gryfx
include TrinityComponent
end
+
+
# This function creates a new Trinity defaults file, with Trinity parameters taken from
# trinity_input_file, and GS2 parameters taken from gs2_input_file. The file is then moved
# to the CodeRunner central defaults location, the current folder is configured to use
# the defaults file.
def self.use_new_defaults_file_with_flux(name = ARGV[-4], trinity_input_file = ARGV[-3], flux_input_file = ARGV[-2], fluxcode=ARGV[-1])
@@ -171,6 +173,8 @@
end
folder
end
end
+ # Backwards compatibility
+ Gs2::TrinityComponent = Trinity::TrinityComponent::Gs2
end