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-0.15.6 lib/cubecalccrmod/with_namelist.rb
coderunner-0.15.5 lib/cubecalccrmod/with_namelist.rb
coderunner-0.15.4 lib/cubecalccrmod/with_namelist.rb
coderunner-0.15.2 lib/cubecalccrmod/with_namelist.rb
coderunner-0.15.1 lib/cubecalccrmod/with_namelist.rb
coderunner-0.15.0 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.24 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.23 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.22 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.21 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.20 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.19 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.18 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.17 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.16 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.15 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.14 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.13 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.12 lib/cubecalccrmod/with_namelist.rb
coderunner-0.14.11 lib/cubecalccrmod/with_namelist.rb