dune-copasi issueshttps://gitlab.dune-project.org/copasi/dune-copasi/-/issues2024-02-20T15:11:17Zhttps://gitlab.dune-project.org/copasi/dune-copasi/-/issues/84SymEngine fails with seg-fault when the wrong keyword is added2024-02-20T15:11:17ZSantiago Ospina De Los Ríossospinar@gmail.comSymEngine fails with seg-fault when the wrong keyword is addedIf a keyword is used but is not know to the parser, SymEngine fails with a segmentation fault. The expected behavior is to report the unknown keyword as an exception. Example:
```ini
[model.scalar_field.B]
compartment = domain
cross_dif...If a keyword is used but is not know to the parser, SymEngine fails with a segmentation fault. The expected behavior is to report the unknown keyword as an exception. Example:
```ini
[model.scalar_field.B]
compartment = domain
cross_diffusion.A.expression = 0.4
reaction.expression = A*B*1e-06*-100.0
reaction.jacobian.A.expression = B*1e-06*-100.0
reaction.jacobian.B.expression = A*1e-06*-100.0
storage.expression = 1
initial.expression = 1000*B_initialConcentration(x,y)
```
`x` is supposed to be `position_x`. But the executable fails to report thishttps://gitlab.dune-project.org/copasi/dune-copasi/-/issues/14Add virtual refinement for VTK output2021-02-10T22:38:08ZSantiago Ospina De Los Ríossospinar@gmail.comAdd virtual refinement for VTK output### Description
Right now, we only write data at the vertices of the triangulation, this naturally correspond to first order polynomial finite elements. Since vtk does not ha a good way to write arbitrary polynomial order and/or is not c...### Description
Right now, we only write data at the vertices of the triangulation, this naturally correspond to first order polynomial finite elements. Since vtk does not ha a good way to write arbitrary polynomial order and/or is not convenient for a software like dune, we opt for the old option to fake local refinement in order to attach more data to a single real entity.
### Proposal
Add and option in the configuration file to set the virtual refinement level and use the `SubsamplingVTKWriter` provided by `dune-grid` which was specifically made for this task.
### How to test the implementation?
Write a python wrapper that checks that higher virtual refinement level produces bigger files for the first step.
### Related issues
See #13
<!--
PLEASE READ THIS
Briefly explain __what__ should be changed and __propose__ how this can happen.
Adding pseudo code or diagrams would be great!
Additionally, you can:
- add suitable labels
- assign a milestone
- mention other issues
-->ES2 - Final software releaseSantiago Ospina De Los Ríossospinar@gmail.comSantiago Ospina De Los Ríossospinar@gmail.com