Dear Katie,
it is possible to pass such parameter using MeshWorker. How did you try to
pass the parameters? do you have a piece of code that shows the problem?
Best,
Baerbel
--
Bärbel Janssen
Institut für Angewandte Mathematik
Universität Heidelberg
Im Neuenheimer Feld 293, Raum 213
Telefon: +49 6221 54-5449
On Tue, 3 Jan 2012, Katie Leonard wrote:
Hello,
Happy New Year!
I am extending step-12 to include time dependency, and I would like to pass global
parameters, such as "time_step" - the size of the time step to the
integrate_cell_term, integrate_boundary_term and integrate_face_term. However, I get the
following error:
In static member function ‘static void
Step12::AdvectionProblem<dim>::integrate_cell_term(Step12::AdvectionProblem<dim>::DoFInfo&,
Step12::AdvectionProblem<dim>::CellInfo&)’:
step-12.cc:288:28: error: invalid use of member
‘Step12::AdvectionProblem<dim>::time_step’ in static member function
I was wondering whether there is a way to do this in the Meshworker framework?
Many thanks,
Katie Leonard
DPhil student in Computational Biology,
The University of Oxford.
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii