Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New public function write_results! #26

Merged
merged 1 commit into from
Jul 3, 2018
Merged

Conversation

ahojukka5
Copy link
Member

write_results!(analysis, writer) is a function which is used to implement new results writers for some analysis. Usage example in pseudo-level

type XdmfWriter <: AbstractResultsWriter
    # stuff
end

type Dynamics <: AbstractAnalysis
    # stuff
end

function FEMBase.write_results!(analysis::Dynamics, writer::XdmfWriter)
    # fid = open(writer.filename)
    # for problem in get_problems(analysis)
    #     field = problem("displacement", analysis.time)
    #     write(fid, field)
    # end
    return nothing!
end

write_results!(analysis, writer) is function which is used to implement 
new results writers for some analysis.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling b85dbd3 on results_writer_abstraction into 2dba599 on master.

@ahojukka5 ahojukka5 merged commit 44b89bd into master Jul 3, 2018
@ahojukka5 ahojukka5 deleted the results_writer_abstraction branch May 3, 2020 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants