Thanks prof. Bangerth. > For example, it is possible that ARKODE allows specifying that certain solution vector entries have certain values (namely, the corresponding boundary values).
Are you referring to this one, where a solution vector *sol *is passed by reference https://www.dealii.org/current/doxygen/deal.II/classSUNDIALS_1_1ARKode.html#a9d3bd452bc13970e9af93810d3d3beff ? I am honestly a bit puzzled as I don't know how to use properly the interface in this particular case, even if I know what should be done, like in step-26. For instance, how can I set the solution vector *sol *in that function to the boundary values? Best Il giorno mercoledì 6 ottobre 2021 alle 02:30:05 UTC+2 Wolfgang Bangerth ha scritto: > On 9/30/21 6:43 AM, bob bill wrote: > > > > I searched for a solution in several steps, but apparently I can't find > a way. > > How can I impose them taking into account also the presence of the mass > matrix? > > I don't actually know the answer, but you should see whether the ARKODE > examples have sample code that shows how to do that. For example, it is > possible that ARKODE allows specifying that certain solution vector > entries > have certain values (namely, the corresponding boundary values). I don't > know > off the top of my head whether the deal.II interfaces to ARKODE allow > setting > such constraints, but think that I have seen this before. > > If you want to understand what needs to be done *in principle* for time > steppers, you might want to take a look at how step-26 deals with this > problem > (using its own simplistic time stepper, not using ARKODE). > > Best > W> > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: [email protected] > www: http://www.math.colostate.edu/~bangerth/ > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/5d61972e-e5f2-4fad-8aba-782a92971450n%40googlegroups.com.
