]> https://gitweb.dealii.org/ - dealii.git/commit
Reorganize code a bit.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Dec 2014 03:50:36 +0000 (21:50 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 14 Dec 2014 12:55:08 +0000 (06:55 -0600)
commit03938997309d83ec5d8c0e15d7a86f17e1c619f2
treefcd2b54ab54bcf845d90f593e40433439d6d6b5e
parenta8fc046932c0d0e2d7248bf53c712d35259b6430
Reorganize code a bit.

Change the code so that checking whether a function parser object
has already been created now happens at the place where we use
the object, rather than as an early exit in the init_muparser()
function. I find that this makes the code easier to read.

This also allows us to remove the creation of a parser object on the
thread where the object is actually created. In many (most) cases,
we will simply create the parser later on anyway, but not necessarily.
source/base/function_parser.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.