]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
9 years agoRefactor output streams to use a base class. 1006/head
David Wells [Sat, 13 Jun 2015 16:50:23 +0000 (12:50 -0400)]
Refactor output streams to use a base class.
The various output format stream classes have very similar properties.

9 years agoMerge pull request #1014 from Rombur/deprecate_vector_2
Wolfgang Bangerth [Mon, 15 Jun 2015 16:01:55 +0000 (11:01 -0500)]
Merge pull request #1014 from Rombur/deprecate_vector_2

Deprecate more vector functions

9 years agoDeprecate the following functions: sadd with 7 arguments, equ with 6 arguments, and... 1014/head
Bruno Turcksin [Mon, 15 Jun 2015 15:23:38 +0000 (10:23 -0500)]
Deprecate the following functions: sadd with 7 arguments, equ with 6 arguments, and print with 3 arguments.

9 years agoMerge pull request #1010 from bangerth/update-reference
Timo Heister [Mon, 15 Jun 2015 14:21:41 +0000 (16:21 +0200)]
Merge pull request #1010 from bangerth/update-reference

Update a reference.

9 years agoMerge pull request #1011 from bangerth/improve-ascii-art
Matthias Maier [Mon, 15 Jun 2015 14:20:47 +0000 (16:20 +0200)]
Merge pull request #1011 from bangerth/improve-ascii-art

Improve ASCII art.

9 years agoImprove ASCII art. 1011/head
Wolfgang Bangerth [Mon, 15 Jun 2015 14:17:50 +0000 (09:17 -0500)]
Improve ASCII art.

The original rendering eats the leading spaces, see
https://www.dealii.org/developer/doxygen/deal.II/step_42.html#PlasticityContactProblemmake_grid
The patch adds something at the front that ensures that this doesn't
happen. It's not pretty, but it works.

9 years agoUpdate a reference. 1010/head
Wolfgang Bangerth [Mon, 15 Jun 2015 14:11:17 +0000 (09:11 -0500)]
Update a reference.

9 years agoMerge pull request #1009 from bangerth/grid-orientation-tests
Bruno Turcksin [Mon, 15 Jun 2015 11:29:00 +0000 (06:29 -0500)]
Merge pull request #1009 from bangerth/grid-orientation-tests

Add two tests.

9 years agoAdd two tests. 1009/head
Wolfgang Bangerth [Sun, 14 Jun 2015 23:24:35 +0000 (18:24 -0500)]
Add two tests.

2d meshes always have correctly oriented edges, and this should enable us to create extruded 3d
meshes that also have correctly oriented faces. This is not the case currently for some 2d meshes
at least, and these tests document this. Someone will eventually have to debug this. In the
meantime, these two tests simply document and test the current state.

9 years agoMerge pull request #1007 from bangerth/guard-for-libz
Matthias Maier [Sun, 14 Jun 2015 20:53:29 +0000 (22:53 +0200)]
Merge pull request #1007 from bangerth/guard-for-libz

Ensure that certain tests are only run when zlib has been detected.

9 years agoEnsure that certain tests are only run when zlib has been detected. 1007/head
Wolfgang Bangerth [Sun, 14 Jun 2015 20:22:37 +0000 (15:22 -0500)]
Ensure that certain tests are only run when zlib has been detected.

This addresses in part the issues listed in #1005.

9 years agoMerge pull request #999 from bangerth/fix-formulas-in-step-42
Luca Heltai [Sat, 13 Jun 2015 08:06:09 +0000 (10:06 +0200)]
Merge pull request #999 from bangerth/fix-formulas-in-step-42

Fix some formulas.

9 years agoMerge pull request #1004 from bangerth/add-links-to-more-videos
Luca Heltai [Sat, 13 Jun 2015 08:05:46 +0000 (10:05 +0200)]
Merge pull request #1004 from bangerth/add-links-to-more-videos

Add links to more videos

9 years agoFix a bug in this script: the regex 1004/head
Wolfgang Bangerth [Fri, 12 Jun 2015 22:17:54 +0000 (17:17 -0500)]
Fix a bug in this script: the regex
  ([abc])(,[abc])*
matches the text
  a,b,c
but while $1=="a", we get $2=",c", not ",b,c" as expected. Another parenthesis is required.

9 years agoProvide links to recently recorded video lectures.
Wolfgang Bangerth [Fri, 12 Jun 2015 21:59:46 +0000 (16:59 -0500)]
Provide links to recently recorded video lectures.

9 years agoMerge pull request #1003 from kronbichler/master
Wolfgang Bangerth [Fri, 12 Jun 2015 16:26:45 +0000 (11:26 -0500)]
Merge pull request #1003 from kronbichler/master

Improve documentation

9 years agoImprove documentation 1003/head
Martin Kronbichler [Fri, 12 Jun 2015 16:21:28 +0000 (18:21 +0200)]
Improve documentation

9 years agoMerge pull request #1002 from bangerth/fix-test-3
Martin Kronbichler [Fri, 12 Jun 2015 06:56:29 +0000 (08:56 +0200)]
Merge pull request #1002 from bangerth/fix-test-3

Fix test output.

9 years agoMerge pull request #1001 from bangerth/minor-cleanups-2
Martin Kronbichler [Fri, 12 Jun 2015 06:52:36 +0000 (08:52 +0200)]
Merge pull request #1001 from bangerth/minor-cleanups-2

Clean up DoFRenumbering::Cuthill_McKee

9 years agoMerge pull request #1000 from bangerth/minor-cleanup
Martin Kronbichler [Fri, 12 Jun 2015 06:41:33 +0000 (08:41 +0200)]
Merge pull request #1000 from bangerth/minor-cleanup

Remove an odd and unnecessary pair of braces.

9 years agoFix test output. 1002/head
Wolfgang Bangerth [Fri, 12 Jun 2015 03:17:49 +0000 (22:17 -0500)]
Fix test output.

The test had one too many empty lines at the top.

9 years agoMerge pull request #991 from Rombur/deprecate_vector
Wolfgang Bangerth [Fri, 12 Jun 2015 02:57:59 +0000 (19:57 -0700)]
Merge pull request #991 from Rombur/deprecate_vector

[RFC] Clean distributed vectors

9 years agoProvide documentation for a function's arguments. 1001/head
Wolfgang Bangerth [Fri, 12 Jun 2015 02:30:57 +0000 (21:30 -0500)]
Provide documentation for a function's arguments.

This addresses #977.

9 years agoAllow Cuthill_McKee() to also use starting indices in parallel.
Wolfgang Bangerth [Fri, 12 Jun 2015 02:27:24 +0000 (21:27 -0500)]
Allow Cuthill_McKee() to also use starting indices in parallel.

This was previously not possible and likely yielded at best results that were not intended.

9 years agoCleanup: only revert the global-to-local numbering in the parallel case.
Wolfgang Bangerth [Fri, 12 Jun 2015 01:00:03 +0000 (20:00 -0500)]
Cleanup: only revert the global-to-local numbering in the parallel case.

9 years agoReuse a variable already defined, rather than recompute the value.
Wolfgang Bangerth [Fri, 12 Jun 2015 00:53:19 +0000 (19:53 -0500)]
Reuse a variable already defined, rather than recompute the value.

9 years agoRemove an odd and unnecessary pair of braces. 1000/head
Wolfgang Bangerth [Fri, 12 Jun 2015 00:45:34 +0000 (19:45 -0500)]
Remove an odd and unnecessary pair of braces.

The whole function's body was enclosed in an extra set of braces. That's
not wrong, but it's at least unnecessary.

9 years agoFix some formulas. 999/head
Wolfgang Bangerth [Fri, 12 Jun 2015 00:25:56 +0000 (19:25 -0500)]
Fix some formulas.

We use things like $\sigma \cdot n$ in a number of places, but common
notation would denote the product between a tensor and a vector without
the cdot.

This fixes #928.

9 years agoMerge pull request #995 from drwells/auto-ptr-to-scoped-ptr
Wolfgang Bangerth [Thu, 11 Jun 2015 13:57:20 +0000 (06:57 -0700)]
Merge pull request #995 from drwells/auto-ptr-to-scoped-ptr

Auto ptr to scoped ptr

9 years agoMerge pull request #979 from QiaoLei-88/paraMaxCellNumber
Bruno Turcksin [Wed, 10 Jun 2015 12:22:13 +0000 (07:22 -0500)]
Merge pull request #979 from QiaoLei-88/paraMaxCellNumber

enable max cell number limit for parallel grid refinement

9 years agoMerge pull request #993 from ESeNonFossiIo/triangular_operator
Luca Heltai [Tue, 9 Jun 2015 15:37:32 +0000 (17:37 +0200)]
Merge pull request #993 from ESeNonFossiIo/triangular_operator

Triangular operator

9 years agoMerge pull request #998 from drwells/update-memory-consumption-test
Martin Kronbichler [Mon, 8 Jun 2015 19:25:01 +0000 (21:25 +0200)]
Merge pull request #998 from drwells/update-memory-consumption-test

Update the memory consumption values for DataOut.

9 years agoUpdate the memory consumption values for DataOut. 998/head
David Wells [Mon, 8 Jun 2015 18:52:51 +0000 (14:52 -0400)]
Update the memory consumption values for DataOut.
I removed three 'dummy' integers in commit 95a5595 to silence warnings
about unused private members. Most C++ compilers use 4 bytes for an int
and 1 byte for an empty class, so the net result was a loss of 9 bytes
for DataOutInterface (inherited by DataOut). This commit updates the
expected memory usage values to match.

9 years agoMerge pull request #997 from drwells/remove-unused-scoped-ptr-include
Martin Kronbichler [Mon, 8 Jun 2015 16:43:07 +0000 (18:43 +0200)]
Merge pull request #997 from drwells/remove-unused-scoped-ptr-include

Remove an unused header inclusion.

9 years agoRemove an unused header. 997/head
David Wells [Mon, 8 Jun 2015 12:24:33 +0000 (08:24 -0400)]
Remove an unused header.

9 years agoIgnore deprecation warnings from BOOST headers. 995/head
David Wells [Mon, 8 Jun 2015 03:22:38 +0000 (23:22 -0400)]
Ignore deprecation warnings from BOOST headers.
To the best of my knowledge, only the headers in boost/signals2/,
boost/smart_ptr/, and boost/serialize/ contain references to auto_ptr that may
trigger warnings in deal.II headers included in user applications.

9 years agoDelete a redundant comment.
David Wells [Mon, 8 Jun 2015 03:21:34 +0000 (23:21 -0400)]
Delete a redundant comment.
The contents of this comment are covered by either std::unique_ptr's
documentation or comments around reset_pointer_in_place_if_possible.

9 years agoReplace std::auto_ptr with std_cxx11::unique_ptr.
David Wells [Mon, 8 Jun 2015 03:20:14 +0000 (23:20 -0400)]
Replace std::auto_ptr with std_cxx11::unique_ptr.
std::auto_ptr has been deprecated by new C++ standards. The official
replacement is std::unique_ptr.

9 years agoBase std_cxx11::unique_ptr on boost::scoped_ptr.
David Wells [Mon, 8 Jun 2015 03:16:00 +0000 (23:16 -0400)]
Base std_cxx11::unique_ptr on boost::scoped_ptr.
Previously this class was a wrapper around boost::shared_ptr, which
requires one more memory allocation than boost::scoped_ptr. The
scoped_ptr class is more restrictive (it cannot be copied or moved) than
unique_ptr (which cannot be copied but can be moved), but non-C++11
compilers do not have move semantics anyway.

9 years agoMerge pull request #992 from ESeNonFossiIo/null_operator
Luca Heltai [Sat, 6 Jun 2015 12:51:36 +0000 (14:51 +0200)]
Merge pull request #992 from ESeNonFossiIo/null_operator

Null operator

9 years agorewrite old upper and triangular operators in terms of new ones 993/head
ESeNonFossiIo [Thu, 4 Jun 2015 21:40:20 +0000 (23:40 +0200)]
rewrite old upper and triangular operators in terms of new ones

9 years agofixing rebase
ESeNonFossiIo [Thu, 4 Jun 2015 10:47:57 +0000 (12:47 +0200)]
fixing rebase

9 years agotests for new specifications of upper and lower triangular operators
ESeNonFossiIo [Thu, 4 Jun 2015 10:39:04 +0000 (12:39 +0200)]
tests for new specifications of upper and lower triangular operators

9 years agoupper and lower triangular operator for array of array of linear operator
ESeNonFossiIo [Thu, 4 Jun 2015 09:45:28 +0000 (11:45 +0200)]
upper and lower triangular operator for array of array of linear operator

9 years agois_null_operator 992/head
ESeNonFossiIo [Wed, 3 Jun 2015 14:09:55 +0000 (16:09 +0200)]
is_null_operator

9 years agonull_operator for rectangular and square matrices
ESeNonFossiIo [Wed, 3 Jun 2015 14:00:21 +0000 (16:00 +0200)]
null_operator for rectangular and square matrices

9 years agoMerge pull request #985 from drwells/remove-unused-private-members
Wolfgang Bangerth [Wed, 3 Jun 2015 15:57:01 +0000 (08:57 -0700)]
Merge pull request #985 from drwells/remove-unused-private-members

Silence warnings about unused private members.

9 years agoClean distributed vectors (Trilinos, PETSc, and deal.ii vectors). 991/head
Bruno Turcksin [Wed, 3 Jun 2015 15:43:33 +0000 (10:43 -0500)]
Clean distributed vectors (Trilinos, PETSc, and deal.ii vectors).

9 years agoadd tests for maximal cell number limit of parallel refine_and_coarsen_fixed_number 979/head
Lei Qiao [Mon, 1 Jun 2015 18:21:24 +0000 (13:21 -0500)]
add tests for maximal cell number limit of parallel refine_and_coarsen_fixed_number

9 years agoadd maximal cell number limit to parallel version of refine_and_coarsen_fixed_number
Lei Qiao [Sat, 30 May 2015 16:39:50 +0000 (11:39 -0500)]
add maximal cell number limit to parallel version of refine_and_coarsen_fixed_number

9 years agoseparate refinement and coarsening fraction adjustment into an individual function
Lei Qiao [Sat, 30 May 2015 15:58:33 +0000 (10:58 -0500)]
separate refinement and coarsening fraction adjustment into an individual function

9 years agoMerge pull request #987 from angelrca/vtools_interp_fenot
Bruno Turcksin [Wed, 3 Jun 2015 12:37:54 +0000 (07:37 -0500)]
Merge pull request #987 from angelrca/vtools_interp_fenot

VectorTools::interpolate changed to allow FE_Nothing

9 years agoMerge pull request #990 from ESeNonFossiIo/upper_triangular_block_bug
Luca Heltai [Wed, 3 Jun 2015 10:17:18 +0000 (12:17 +0200)]
Merge pull request #990 from ESeNonFossiIo/upper_triangular_block_bug

a bug fixed

9 years agochanges.h, blocks moved 987/head
angelrca [Wed, 3 Jun 2015 09:56:56 +0000 (11:56 +0200)]
changes.h, blocks moved

9 years agointerpolate_nothing_03.cc date changed
angelrca [Wed, 3 Jun 2015 09:52:38 +0000 (11:52 +0200)]
interpolate_nothing_03.cc date changed

9 years agotest case interpolate_nothing_03 added
angelrca [Wed, 3 Jun 2015 09:29:22 +0000 (11:29 +0200)]
test case interpolate_nothing_03 added

9 years agodoc/news/changes.h line added
angelrca [Wed, 3 Jun 2015 08:43:36 +0000 (10:43 +0200)]
doc/news/changes.h line added

9 years agoa test for upper triangular matrix with non trivial block matrices 990/head
ESeNonFossiIo [Wed, 3 Jun 2015 08:32:36 +0000 (10:32 +0200)]
a test for upper triangular matrix with non trivial block matrices

9 years agoindentation corrected
angelrca [Wed, 3 Jun 2015 07:49:47 +0000 (09:49 +0200)]
indentation corrected

9 years agoSilence a warning about an unused private member. 985/head
David Wells [Tue, 2 Jun 2015 21:22:22 +0000 (17:22 -0400)]
Silence a warning about an unused private member.
The GmvFlags struct is not used in the current implementation, but it
may be used in the future.

9 years agoRemove 'dummy' members and allow empty structs.
David Wells [Tue, 2 Jun 2015 21:19:43 +0000 (17:19 -0400)]
Remove 'dummy' members and allow empty structs.
Empty structs are implementation-dependent in C, but are acceptable in
C++. Therefore unused private members are not needed (and they cause
clang to generate warnings).

9 years agoa bug fixed
ESeNonFossiIo [Tue, 2 Jun 2015 21:04:19 +0000 (23:04 +0200)]
a bug fixed

9 years agoMerge pull request #988 from tjhei/intel_simd
Luca Heltai [Tue, 2 Jun 2015 20:30:36 +0000 (22:30 +0200)]
Merge pull request #988 from tjhei/intel_simd

intel and openmp-simd

9 years agoMerge pull request #989 from tjhei/muparser_v2_2_4
Luca Heltai [Tue, 2 Jun 2015 20:29:42 +0000 (22:29 +0200)]
Merge pull request #989 from tjhei/muparser_v2_2_4

update muparser to 2.2.4

9 years agoupdate muparser to 2.2.4 989/head
Timo Heister [Tue, 2 Jun 2015 18:52:32 +0000 (14:52 -0400)]
update muparser to 2.2.4

9 years agointel and openmp-simd 988/head
Timo Heister [Tue, 2 Jun 2015 17:36:41 +0000 (13:36 -0400)]
intel and openmp-simd

- Intel 13 does not support -openmp-simd and generates a bogus warning
(confusing it with -o). Do not try to check for it.
- Intel 15 renamed the flag to -qopenmp-simd (see
https://software.intel.com/en-us/node/522965)

9 years agovector_tools::interpolation identation corrected
angelrca [Tue, 2 Jun 2015 16:50:43 +0000 (18:50 +0200)]
vector_tools::interpolation identation corrected

9 years agoMerge branch 'vtools_interp_fenot' of https://github.com/angelrca/dealii into vtools_...
angelrca [Tue, 2 Jun 2015 15:34:01 +0000 (17:34 +0200)]
Merge branch 'vtools_interp_fenot' of https://github.com/angelrca/dealii into vtools_interp_fenot

9 years agoVectorTools::interpolate changed
angelrca [Tue, 2 Jun 2015 14:32:24 +0000 (16:32 +0200)]
VectorTools::interpolate changed

9 years agoVectorTools::interpolate changed
angelrca [Tue, 2 Jun 2015 14:32:24 +0000 (16:32 +0200)]
VectorTools::interpolate changed

9 years agoMerge pull request #986 from ESeNonFossiIo/null_operator
Luca Heltai [Tue, 2 Jun 2015 12:54:29 +0000 (14:54 +0200)]
Merge pull request #986 from ESeNonFossiIo/null_operator

null operator

9 years agonull operator 986/head
ESeNonFossiIo [Tue, 2 Jun 2015 10:39:38 +0000 (12:39 +0200)]
null operator

9 years agoMerge pull request #983 from drwells/memory-usage-strlen-header
Wolfgang Bangerth [Mon, 1 Jun 2015 12:23:35 +0000 (07:23 -0500)]
Merge pull request #983 from drwells/memory-usage-strlen-header

Fix two issues with C string memory consumption.

9 years agoFix two issues with C string memory consumption. 983/head
David Wells [Mon, 1 Jun 2015 12:02:49 +0000 (08:02 -0400)]
Fix two issues with C string memory consumption.
These were pointed out by @msteigemann.

Including cstring to obtain strlen is not necessary with some GCC
releases, but may be needed on other platforms.

I rewrote the call to strlen so that it does not rely on the fact that
sizeof(char) == 1 on most platforms.

9 years agoMerge pull request #982 from drwells/refactor-data-out-flags-base-class
Wolfgang Bangerth [Mon, 1 Jun 2015 03:03:47 +0000 (22:03 -0500)]
Merge pull request #982 from drwells/refactor-data-out-flags-base-class

Refactor data out flags base class

9 years agoAdd an '@ingroup output' label to an output flag. 982/head
David Wells [Sun, 31 May 2015 22:52:04 +0000 (18:52 -0400)]
Add an '@ingroup output' label to an output flag.

9 years agoConsistently label constructors.
David Wells [Sun, 31 May 2015 22:41:08 +0000 (18:41 -0400)]
Consistently label constructors.

9 years agoDelete extra 'public:' labels.
David Wells [Sun, 31 May 2015 22:39:56 +0000 (18:39 -0400)]
Delete extra 'public:' labels.
Things in structs are public by default.

9 years agoRemove default constructor implementations.
David Wells [Sun, 31 May 2015 22:36:58 +0000 (18:36 -0400)]
Remove default constructor implementations.

9 years agoSwitch to just spaces, instead of tabs and spaces.
David Wells [Sun, 31 May 2015 22:33:30 +0000 (18:33 -0400)]
Switch to just spaces, instead of tabs and spaces.

9 years agoReplace all set_flags functions with a template.
David Wells [Sun, 31 May 2015 22:28:45 +0000 (18:28 -0400)]
Replace all set_flags functions with a template.
This sacrifices some type safety in optimized mode to decrease
redundancy.

9 years agoRemove empty declare and parse parameter methods.
David Wells [Sun, 31 May 2015 22:19:04 +0000 (18:19 -0400)]
Remove empty declare and parse parameter methods.
The default implementation (also an empty block) is covered by the base
class.

9 years agoImprove the TecplotFlags memory estimate.
David Wells [Sun, 31 May 2015 22:11:39 +0000 (18:11 -0400)]
Improve the TecplotFlags memory estimate.

9 years agoRemove extra memory_consumption methods.
David Wells [Sun, 31 May 2015 21:58:24 +0000 (17:58 -0400)]
Remove extra memory_consumption methods.
The base class (introduced by the previous commit) implements the
behavior common to all of these methods.

9 years agoAdd a base class for all output flag classes.
David Wells [Sun, 31 May 2015 21:50:18 +0000 (17:50 -0400)]
Add a base class for all output flag classes.
The base class uses "the curiously recurring template pattern" technique
so that they can all share a default implementation of memory
consumption (i.e., something akin to "return sizeof(*this)" works for
child classes unless overridden).

9 years agoMerge pull request #981 from tjhei/inst_mismatch
Wolfgang Bangerth [Sun, 31 May 2015 02:10:44 +0000 (21:10 -0500)]
Merge pull request #981 from tjhei/inst_mismatch

fix instantiation of subdivided_hyper_rectangle

9 years agofix instantiation of subdivided_hyper_rectangle 981/head
Timo Heister [Sun, 31 May 2015 01:41:04 +0000 (21:41 -0400)]
fix instantiation of subdivided_hyper_rectangle

intel compiler complains about a missing instantiation because of a missing const

9 years agoMerge pull request #980 from tjhei/fix_deprecated_statement
Wolfgang Bangerth [Sun, 31 May 2015 01:23:45 +0000 (20:23 -0500)]
Merge pull request #980 from tjhei/fix_deprecated_statement

fix placement of deprecation keyword

9 years agofix placement of deprecation keyword 980/head
Timo Heister [Sun, 31 May 2015 01:11:59 +0000 (21:11 -0400)]
fix placement of deprecation keyword

9 years agoMerge pull request #978 from davydden/local_integrators2
Guido Kanschat [Fri, 29 May 2015 22:16:20 +0000 (00:16 +0200)]
Merge pull request #978 from davydden/local_integrators2

exploit symmetries in Local integrators of mass and laplace matrices
avoid copying the matrix entries and thus side effects

closes issue #976

9 years agoaccumulate sums over n_components 978/head
Denis Davydov [Fri, 29 May 2015 20:24:02 +0000 (22:24 +0200)]
accumulate sums over n_components

9 years agoexploit symmetries in Local integrators of mass and laplace matrices without assignme...
Denis Davydov [Fri, 29 May 2015 18:59:10 +0000 (20:59 +0200)]
exploit symmetries in Local integrators of mass and laplace matrices without assignment operation

9 years agoMerge pull request #975 from guidokanschat/documentation_relaxation_block
Wolfgang Bangerth [Fri, 29 May 2015 17:52:16 +0000 (10:52 -0700)]
Merge pull request #975 from guidokanschat/documentation_relaxation_block

Add some documentation on the special structure of RelaxationBlock::A…

9 years agoAdd some documentation on the special structure of RelaxationBlock::AdditionalData 975/head
Guido Kanschat [Fri, 29 May 2015 15:52:51 +0000 (17:52 +0200)]
Add some documentation on the special structure of RelaxationBlock::AdditionalData

9 years agoMerge pull request #972 from bangerth/fix-test-4
Martin Kronbichler [Fri, 29 May 2015 06:35:16 +0000 (08:35 +0200)]
Merge pull request #972 from bangerth/fix-test-4

Fix a test where we may inadvertently divide by zero.

9 years agoMerge pull request #973 from bangerth/fix-condition
Guido Kanschat [Fri, 29 May 2015 05:46:35 +0000 (07:46 +0200)]
Merge pull request #973 from bangerth/fix-condition

Use a standard method to find whether a number is normal.

9 years agoUse a standard method to find whether a number is normal. 973/head
Wolfgang Bangerth [Thu, 28 May 2015 20:37:37 +0000 (15:37 -0500)]
Use a standard method to find whether a number is normal.

In the current context, this slightly changes the behavior in that the new
condition also catches infinities, rather than just NaNs as before, but the
downstream code will still yield the same answers.

9 years agoFix a test where we may inadvertently divide by zero. 972/head
Wolfgang Bangerth [Thu, 28 May 2015 20:26:21 +0000 (15:26 -0500)]
Fix a test where we may inadvertently divide by zero.

The test is also just overly convoluted.

9 years agoMerge pull request #971 from bangerth/fix-test-3
Luca Heltai [Thu, 28 May 2015 17:41:23 +0000 (19:41 +0200)]
Merge pull request #971 from bangerth/fix-test-3

Fix test.

9 years agoFix test. 971/head
Wolfgang Bangerth [Thu, 28 May 2015 16:35:15 +0000 (11:35 -0500)]
Fix test.

The test uses acosh(0.5), but acosh is only defined for arguments >=1.


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.