Sha256: 964b807b9fad98e5c4edf656dcfdc1079d46119f5b5d86dd634a12cb38374520

Contents?: true

Size: 857 Bytes

Versions: 124

Compression:

Stored size: 857 Bytes

Contents

class CodeRunner
	class Cubecalc
		class WithNamelist < Cubecalc
			@source_code_subfolders = []
			setup_namelists(rcp.code_module_folder)

			def parameter_string
				'input_file.in'
			end

			def generate_input_file
				File.open('input_file.in', 'w'){|file| file.puts input_file_text}
			end

			def input_file_header
				<<EOF
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!  Input file for the test program cubecalc_namelist
!
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! #@defaults_file_description

EOF
			end

			def self.defaults_file_header
				<<EOF
#############################################################
#
# Defaults for the test program cubecalc_namelist
#
#############################################################

@defaults_file_description = "Basic defaults"
EOF
			end
		end
	end
end

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
coderunner-1.0.14 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.13 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.12 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.11 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.10 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.9 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.8 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.7 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.6 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.4 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.3 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.2 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.1 lib/cubecalccrmod/with_namelist.rb
coderunner-1.0.0 lib/cubecalccrmod/with_namelist.rb
coderunner-0.18.5 lib/cubecalccrmod/with_namelist.rb
coderunner-0.18.4 lib/cubecalccrmod/with_namelist.rb
coderunner-0.18.3 lib/cubecalccrmod/with_namelist.rb
coderunner-0.18.2 lib/cubecalccrmod/with_namelist.rb
coderunner-0.18.1 lib/cubecalccrmod/with_namelist.rb
coderunner-0.18.0 lib/cubecalccrmod/with_namelist.rb