Changeset 26727 for issm/trunk-jpl/src/jl/core/modules.jl
- Timestamp:
- 12/09/21 10:58:15 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/jl/core/modules.jl
r26718 r26727 1 #Model Processor 1 #Model Processor and Core I/O 2 2 function FetchDataToInput(md::model,inputs::Inputs,elements::Vector{Tria},data::Vector{Float64},enum::IssmEnum) #{{{ 3 3 for i in 1:length(elements) … … 94 94 function OutputResultsx(femmodel::FemModel, md::model)# {{{ 95 95 96 md.results = Dict("Stressbalance"=> femmodel.results) 96 output = Dict() 97 for i in length(femmodel.results) 98 result = femmodel.results[i] 99 output[EnumToString(result.enum)] = result.value 100 end 101 md.results["Stressbalance"] = output 97 102 98 103 end# }}} … … 250 255 #Create Result 251 256 input = GetInput(femmodel.inputs,outputlist[i]) 252 result = Result( step, time, copy(input.values))257 result = Result(outputlist[i], step, time, copy(input.values)) 253 258 254 259 #Add to femmodel.results dataset
Note:
See TracChangeset
for help on using the changeset viewer.