]> https://gitweb.dealii.org/ - dealii.git/commit
Rework Pattern::Double 2601/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 14 May 2016 14:53:21 +0000 (15:53 +0100)
committerTimo Heister <timo.heister@gmail.com>
Sun, 15 May 2016 15:03:05 +0000 (16:03 +0100)
commit741a630e99b194da09d843e2b1d52b03ec3a6af9
treee0e37414d74fda012e62ffce0d2687b4777b1eb5
parentf9930f91c634481cf135b42a66e9f6c5d40790ce
Rework Pattern::Double

- Fix broken parsing of Pattern::Double::description() in
::create()(skipping " range " that shouldn't exist and parsing an empty
range incorrectly).
- Display default values as -MAX_DOUBLE...MAX_DOUBLE instead of
-1.79769e+308...1.79769e+308 in the description.
- Add some new tests.
- Update output of tests to match new description.

remove c++11'ism

use std::memcmp
16 files changed:
include/deal.II/base/parameter_handler.h
source/base/parameter_handler.cc
tests/bits/parameter_handler_4.output
tests/bits/parameter_handler_4a.output
tests/bits/parameter_handler_4a_with_alias.output
tests/bits/parameter_handler_4a_with_alias_deprecated.output
tests/bits/parameter_handler_7.output
tests/bits/parameter_handler_double_01.cc [new file with mode: 0644]
tests/bits/parameter_handler_double_01.output [new file with mode: 0644]
tests/bits/parameter_handler_double_02.cc [new file with mode: 0644]
tests/bits/parameter_handler_double_02.output [new file with mode: 0644]
tests/bits/parameter_handler_read_xml.output
tests/bits/parameter_handler_write_json.output
tests/bits/parameter_handler_write_section_xml.output
tests/bits/parameter_handler_write_xml.output
tests/serialization/parameter_handler.output

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.