Open sebglane opened 3 years ago
I think what is left to be done is 3.) and 4.). I will try to implement this in the branch hydrodynamic_problem
.
The DataPostprocessor
framework is implemented in data_postprocessor
see PR #125.
First step towards serialization were implemented in PR #153. Serialization of a problem is still missing.
Here I am collecting some ideas for an enhancement of the library. The features below can mainly be implemented in the
Problem<dim>
because all types of problems would benefit from them.[x] Implementing adaptive mesh refinement. The problem here is that we have separate
DofHandler
s which operate on the same mesh. We need to transfer the solution from the coarse to the fine mesh and we need to do this for every entity. I have implemented a mesh refinement method here but this method is hard coded for the specific problem. I think what we want here is a refinement method which takes a list ofEntityBase
and performs the refinement and the transfer of the solutions. I am thinking of// setup dofs and constraints on refined mesh setup_dofs();
// perform solution transfer operate on the list: std::vector<LA::Vector *> tmp_vectors(3); tmp_vectors[0] = &entities[i].solution; tmp_vectors[1] = &entities[i].old_solution; tmp_vectors[2] = &entities[i].old_old_solution; solution_transfer[i].interpolate(tmp_vectors); }