Sha256: 8171754e76b23f0fae67c5bcb767c16b42cb97c5a7e09045bdc4d3fe89fe901a

Contents?: true

Size: 881 Bytes

Versions: 12

Compression:

Stored size: 881 Bytes

Contents

class CodeRunner::Trinity
	# Functions to return the values of parameters if they are not set in CodeRunner.
	# These must be manually kept in sync with Trinity... let's keep their number down
	# to a minimum
	module ActualParameterValues
		def dflx_stencil_actual
			@dflx_stencil or 2
		end
		def evolve_grads_only_actual
			@evolve_grads_only or ".true."
		end
		def fork_flag_actual
			@fork_flag or ".true."
		end
    def evolve_temperature_actual
      @evolve_temperature or ".true."
    end
    def evolve_density_actual
      @evolve_density or ".true."
    end
    def evolve_flow_actual
      @evolve_flow or ".false."
    end
    def equal_ion_temps_actual
      @equal_ion_temps or ".true."
    end
    def te_fixed_actual
      @te_fixed or ".false."
    end
    def te_equal_ti_actual
      @te_equal_ti or ".false."
    end
	end
	include ActualParameterValues
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trinitycrmod-0.8.14 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.13 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.12 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.11 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.10 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.9 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.8 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.7 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.5 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.3 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.2 lib/trinitycrmod/actual_parameter_values.rb
trinitycrmod-0.8.1 lib/trinitycrmod/actual_parameter_values.rb