I want to implement an adaptive scheme, so I need a grid manager that can allow me to adapt the grid. My existing grid manager does not allow one to adapt the mesh and I don't have all the time to implement that now. So am looking for an existing one that I can use.
Thanks a lot. I didn't know before now that dune has 1-D grid. I've used Dune for 2-D Finite element solutions but didn't know about this. Thanks again.
1D grid procedure (even the adaptive one) is just a few lines of code, I think you will spent much more time on interfacing the library with your computations
How do you mean, Michal? You mean you have a very short algorithm for an adaptive 1-D grid ? I will be happy to have your procedure(or even a C++ code of it), if you don't mind. I know my 1-D grid has a lot of functionalities and not just few lines of code, even though is not adaptive. So I will be happy to learn more. Thanks.
I presume that you want to solve some PDE or ODE in one spatial dimension by finite element method and you need some adaptive mesh refinement algorithm, is that right?
Well adaptive mesh refinements in one dimension are quite simple to implement, as you don't have to struggle with hanging nodes, and the projections of the solution between the two meshes are also quite simple in 1D. I could share some code with you, but the crucial part of this adaptivity algorithm is the error analysis in order to identify the element that should be refined, do you have any solution for that? I'm quite familiar with the method implemented in Hermes hp adaptivity FEM solver, see http://www.hpfem.org/hermes/