trixi-framework / trixi-framework/Trixi.jl

Automate EC/ES tests

Open
#903 2 comments 0 reactions 0 assignees View on GitHub
hacktoberfest testing
Dominant language
Julia
Stars
731
Forks
166
Avg merge
2d 18h
Merged PRs (30d)
25

Description

This came up one again in https://github.com/trixi-framework/Trixi.jl/pull/900#discussion_r725094522. If someone wants to earn a T-shirt, this would be a nice Hacktoberfest project. The idea would be to add an optional keyword argument `test_ec` to `@test_trixi_include` with default value `false`. If `test_ec` is set to `true` (or a non-zero tolerance), we should perform an automatic check whether semidiscrete entropy-conservation (EC) holds. It would probably be sufficient to just test the final numerical solution.

Contributor guide

Open the contributing guide

Research direction

Start by locating the definition and uses of @test_trixi_include, then read the linked discussion in PR #900 for the intended EC check. The work is done when the optional test_ec argument defaults to false and, when enabled with a true value or non-zero tolerance, checks the final numerical solution for semidiscrete entropy conservation.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.