]>
https://gitweb.dealii.org/ - dealii.git/log
Wolfgang Bangerth [Thu, 17 Nov 2016 03:35:50 +0000 (20:35 -0700)]
Move template function DoFHandler::n_boundary_dofs().
This function is currently in a .cc file, and the .inst.in file actually tries to
instantiate it for all template arguments. Nonetheless, as #3599 shows, it is not
instantiated appropriately.
Rather than try to understand the exact cause, the easier solution is to just
move the function to the .h file. It turns out to have a lot of code duplicated
from the other function of same name, so shrink it down to the minimum and
simply defer to the non-templated member function.
David Wells [Thu, 17 Nov 2016 12:35:53 +0000 (07:35 -0500)]
Merge pull request #3603 from bangerth/fix-type-error
Fix a type error.
Wolfgang Bangerth [Thu, 17 Nov 2016 03:49:54 +0000 (20:49 -0700)]
Fix a type error.
Wolfgang Bangerth [Thu, 17 Nov 2016 03:01:06 +0000 (20:01 -0700)]
Merge pull request #3598 from bangerth/fix-compilation
Fix compilation.
Wolfgang Bangerth [Thu, 17 Nov 2016 02:58:36 +0000 (19:58 -0700)]
Fix compilation.
Matthias Maier [Wed, 16 Nov 2016 23:52:25 +0000 (17:52 -0600)]
Merge pull request #3592 from tamiko/fix_constraint_matrix
LAC: also allow ConstraintMatrix::distribute for std::complex
Wolfgang Bangerth [Wed, 16 Nov 2016 22:01:41 +0000 (15:01 -0700)]
Merge pull request #3517 from drwells/improve-mpi-checks
Improve mpi checks
David Wells [Wed, 16 Nov 2016 21:56:50 +0000 (16:56 -0500)]
Merge pull request #3595 from bangerth/cleanups
Clean up GridIn::read_vtk() in several ways.
Wolfgang Bangerth [Wed, 16 Nov 2016 14:36:14 +0000 (07:36 -0700)]
Clean up GridIn::read_vtk() in several ways.
Rename some variables. Also note that we always had
vertex_indices[i] = i
quad_indices[i] = i
line_indices[i] = i
and so can get rid of these maps. They are a left-over from apparently copy-pasting
the initial version of this function from the UNV reader where this did not
have to be the case.
The function has many other problems, but I'm an incrementalist and I choose progress
over waiting for the perfect to happen :-).
Matthias Maier [Wed, 16 Nov 2016 05:06:38 +0000 (23:06 -0600)]
add a test
Matthias Maier [Wed, 16 Nov 2016 04:49:10 +0000 (22:49 -0600)]
LAC: also allow ConstraintMatrix::distribute for std::complex
Fix a typetrait check in ConstraintMatrix::distribute such that said class
and method can be used with complex valued vector types.
David Wells [Wed, 16 Nov 2016 14:09:46 +0000 (09:09 -0500)]
Merge pull request #3591 from bangerth/fix-off-by-one-error
Fix an off-by-one error in GridIn::read_vtk().
Wolfgang Bangerth [Wed, 16 Nov 2016 13:53:57 +0000 (06:53 -0700)]
Merge pull request #3593 from masterleinad/fix_mapping_test
Fix mapping_q_manifold_01
David Wells [Wed, 16 Nov 2016 13:06:11 +0000 (08:06 -0500)]
Merge pull request #3587 from bangerth/add-copy-operator
Fix Trilinos SparsityPattern iterators.
Daniel Arndt [Wed, 16 Nov 2016 10:42:10 +0000 (11:42 +0100)]
Fix mapping_q_manifold_01
Wolfgang Bangerth [Wed, 16 Nov 2016 04:12:49 +0000 (21:12 -0700)]
Add a testcase.
Wolfgang Bangerth [Wed, 16 Nov 2016 04:12:30 +0000 (21:12 -0700)]
Add a changelog entry.
Mayank Sabharwal [Wed, 16 Nov 2016 04:12:16 +0000 (21:12 -0700)]
Fix an off-by-one error in GridIn::read_vtk.
Wolfgang Bangerth [Tue, 15 Nov 2016 14:55:30 +0000 (07:55 -0700)]
Add a changelog entry.
Wolfgang Bangerth [Tue, 15 Nov 2016 14:48:47 +0000 (07:48 -0700)]
Add tests.
Wolfgang Bangerth [Tue, 15 Nov 2016 14:48:20 +0000 (07:48 -0700)]
Fix the (entirely broken) function Accessor::visit_present_row().
Wolfgang Bangerth [Mon, 14 Nov 2016 23:52:07 +0000 (16:52 -0700)]
Remove the copy constryctor of TrilinosWrappers::SparsityPatternIterators::Accessor.
It is the default copy constructor, and by removing it, we need not
worry about the fact that we have no copy assignment operator in this class.
Daniel Arndt [Wed, 16 Nov 2016 00:54:22 +0000 (01:54 +0100)]
Merge pull request #3589 from bangerth/fix-wrong-mapping-clone
Fix a rather insidious bug in MappingQ.
Wolfgang Bangerth [Tue, 15 Nov 2016 22:03:08 +0000 (15:03 -0700)]
Add a changelog entry.
Wolfgang Bangerth [Tue, 15 Nov 2016 21:58:47 +0000 (14:58 -0700)]
Add testcases.
Timo Heister [Tue, 15 Nov 2016 18:09:43 +0000 (13:09 -0500)]
Merge pull request #3588 from bangerth/update-some-comments
Update some comments that were not quite accurate any more.
Wolfgang Bangerth [Tue, 15 Nov 2016 17:17:29 +0000 (10:17 -0700)]
Ensure that cloning a mapping also copies all internal variables.
MappingQ has a member variable 'use_mapping_q_on_all_cells', but this variable is not
replicated when calling MappingQ::clone(). Fix this.
Wolfgang Bangerth [Tue, 15 Nov 2016 17:15:56 +0000 (10:15 -0700)]
Update some comments that were not quite accurate any more.
Also just minor cleanups. No functional changes.
Wolfgang Bangerth [Tue, 15 Nov 2016 13:36:07 +0000 (06:36 -0700)]
Merge pull request #3585 from kalj/mg-fix
Fix array lenghts
Martin Kronbichler [Tue, 15 Nov 2016 12:08:49 +0000 (13:08 +0100)]
Merge pull request #3582 from bangerth/add-comment
Add a reference to step-33.
Martin Kronbichler [Tue, 15 Nov 2016 11:58:45 +0000 (12:58 +0100)]
Merge pull request #3584 from bangerth/improve-error
Improve an error message.
Karl Ljungkvist [Thu, 9 Jun 2016 12:47:45 +0000 (14:47 +0200)]
Fix array lenghts
Wolfgang Bangerth [Tue, 15 Nov 2016 00:30:51 +0000 (17:30 -0700)]
Improve an error message.
David Wells [Mon, 14 Nov 2016 22:00:30 +0000 (17:00 -0500)]
Merge pull request #3579 from bangerth/initialize-members-2
Initialize the 'matrix' and 'vector' members in the PETSc wrappers.
Wolfgang Bangerth [Mon, 14 Nov 2016 19:58:22 +0000 (12:58 -0700)]
Add a reference to step-33.
Timo Heister [Mon, 14 Nov 2016 19:10:49 +0000 (14:10 -0500)]
Merge pull request #3581 from bangerth/make-comment-more-readable
Make comment more readable.
Wolfgang Bangerth [Mon, 14 Nov 2016 18:05:41 +0000 (11:05 -0700)]
Make comment more readable.
Wolfgang Bangerth [Mon, 14 Nov 2016 14:10:43 +0000 (07:10 -0700)]
Initialize the 'matrix' and 'vector' members in the PETSc wrappers.
These members are of type 'Mat' and 'Vec', which are typedefed to pointers to otherwise
opaque types. Initialize these members to 'NULL'.
David Wells [Mon, 14 Nov 2016 13:40:16 +0000 (08:40 -0500)]
Merge pull request #3575 from bangerth/initialize-member-variable-2
Initialize member variables.
Daniel Arndt [Sun, 13 Nov 2016 20:02:24 +0000 (21:02 +0100)]
Merge pull request #3577 from masterleinad/initialize_quick_tests
Initialize all variables in quick_tests/step
Daniel Arndt [Sun, 13 Nov 2016 18:39:17 +0000 (19:39 +0100)]
Initialize all variables in quick_tests/step
David Wells [Sat, 12 Nov 2016 16:47:59 +0000 (11:47 -0500)]
Merge pull request #3572 from davydden/pvs/parpack
parpack: initialize member variables
David Wells [Sat, 12 Nov 2016 16:32:44 +0000 (11:32 -0500)]
Merge pull request #3574 from bangerth/initialize-member-variable
Initialize a member variable.
Wolfgang Bangerth [Sat, 12 Nov 2016 14:41:16 +0000 (07:41 -0700)]
Initialize member variables.
Wolfgang Bangerth [Sat, 12 Nov 2016 14:33:19 +0000 (07:33 -0700)]
Initialize a member variable.
Wolfgang Bangerth [Sat, 12 Nov 2016 14:26:31 +0000 (07:26 -0700)]
Merge pull request #3573 from drwells/petsc-matrix-accessor-copy-operator
Petsc matrix accessor copy operator
David Wells [Sat, 12 Nov 2016 03:21:07 +0000 (22:21 -0500)]
Add a test for copying PETSc matrix iterators.
David Wells [Sat, 12 Nov 2016 03:08:32 +0000 (22:08 -0500)]
Remove an unnecessary copy constructor.
PVS studio rightfully complains that we should define operator= whenever
we explicitly define a copy constructor. However, since our copy
constructor does nothing special it is in fact equivalent to the default
copy constructor, so we can just get get rid of it and let the compiler
generate the correct copying code.
David Wells [Sat, 12 Nov 2016 01:13:37 +0000 (20:13 -0500)]
Merge pull request #3570 from bangerth/fix-typo
Fix comment style.
Wolfgang Bangerth [Sat, 12 Nov 2016 01:06:52 +0000 (18:06 -0700)]
Merge pull request #3528 from masterleinad/update_postprocess
Update DataPostprocessor in examples
Daniel Arndt [Fri, 11 Nov 2016 13:31:46 +0000 (14:31 +0100)]
Update DataPostprocessor in examples
Wolfgang Bangerth [Fri, 11 Nov 2016 21:04:43 +0000 (14:04 -0700)]
Fix comment style.
Denis Davydov [Fri, 11 Nov 2016 22:09:47 +0000 (23:09 +0100)]
parpack: initialize member variables
Denis Davydov [Fri, 11 Nov 2016 21:12:29 +0000 (22:12 +0100)]
Merge pull request #3571 from bangerth/rename-variables
Rename a local variable.
Wolfgang Bangerth [Fri, 11 Nov 2016 21:11:16 +0000 (14:11 -0700)]
Rename a local variable.
Do not name it the same as a member variable in the base class.
Fixes #3547.
David Wells [Thu, 10 Nov 2016 00:08:40 +0000 (19:08 -0500)]
Check all MPI calls.
This commit adds AssertThrowMPI checks to the return code of every MPI
call in deal.II.
David Wells [Wed, 9 Nov 2016 23:54:09 +0000 (18:54 -0500)]
Add a specific exception for MPI failures.
Timo Heister [Fri, 11 Nov 2016 18:01:13 +0000 (13:01 -0500)]
Merge pull request #3524 from bangerth/fix-memory-leak
Fix a memory leak in step-39.
Wolfgang Bangerth [Fri, 11 Nov 2016 16:08:16 +0000 (09:08 -0700)]
Merge pull request #3526 from kronbichler/fix_test_shapes_q_bubbles
Increase accuracy of test output
Wolfgang Bangerth [Fri, 11 Nov 2016 16:07:57 +0000 (09:07 -0700)]
Merge pull request #3527 from kronbichler/provide_additional_test_output
Provide additional test output.
Wolfgang Bangerth [Fri, 11 Nov 2016 06:01:26 +0000 (23:01 -0700)]
Fix a memory leak in step-39.
Also avoid some obscure old-style C functions.
Martin Kronbichler [Fri, 11 Nov 2016 12:57:31 +0000 (13:57 +0100)]
Provide additional test output.
Martin Kronbichler [Fri, 11 Nov 2016 12:23:42 +0000 (13:23 +0100)]
Increase accuracy of test output
Martin Kronbichler [Fri, 11 Nov 2016 12:11:04 +0000 (13:11 +0100)]
Merge pull request #3525 from davydden/fix_warning
fix unused variable warning
Denis Davydov [Fri, 11 Nov 2016 12:05:09 +0000 (13:05 +0100)]
fix unused variable warning
David Wells [Fri, 11 Nov 2016 11:26:45 +0000 (06:26 -0500)]
Merge pull request #3523 from bangerth/fix-memory-leak-3
Fix a memory leak in de-serializing a SparsityPattern object.
David Wells [Fri, 11 Nov 2016 00:39:40 +0000 (19:39 -0500)]
Merge pull request #3522 from bangerth/fix-memory-leaks
Fix several more memory leaks in tests.
Wolfgang Bangerth [Fri, 11 Nov 2016 00:39:40 +0000 (17:39 -0700)]
Fix a memory leak in de-serializing a SparsityPattern object.
Wolfgang Bangerth [Thu, 10 Nov 2016 23:16:52 +0000 (16:16 -0700)]
Fix memory leaks tests.
David Wells [Thu, 10 Nov 2016 19:51:02 +0000 (14:51 -0500)]
Merge pull request #3521 from bangerth/fix-memory-leaks
Fix a variety of memory leaks in the testsuite.
Timo Heister [Thu, 10 Nov 2016 17:41:42 +0000 (12:41 -0500)]
Merge pull request #3519 from bangerth/fix-memory-leak
Avoid a memory leak.
Wolfgang Bangerth [Thu, 10 Nov 2016 16:29:49 +0000 (09:29 -0700)]
Fix a variety of memory leaks in the testsuite.
Martin Kronbichler [Thu, 10 Nov 2016 16:22:57 +0000 (17:22 +0100)]
Merge pull request #3518 from drwells/fix-hessian-typos
Fix two typos related to the Hessians.
Wolfgang Bangerth [Thu, 10 Nov 2016 16:15:18 +0000 (09:15 -0700)]
Avoid a memory leak.
In fact, the test really tries very hard to create a memory leak, and
even verifies that it happens. But this then leads to downstream heartbreak
if you run a memory checker because you get pulled over for it.
Fix the issue by cleaning up the memory leak after we have verified that
the code that ran before really did leak the memory, by keeping a pointer
to the leaked object after all, and deleting it at the end of it all.
David Wells [Thu, 10 Nov 2016 13:54:26 +0000 (08:54 -0500)]
Fix two typos related to the Hessians.
Martin Kronbichler [Wed, 9 Nov 2016 09:21:22 +0000 (10:21 +0100)]
Merge pull request #3508 from bangerth/fix-test
Reduce the number of steps for high order mappings.
Martin Kronbichler [Wed, 9 Nov 2016 09:21:06 +0000 (10:21 +0100)]
Merge pull request #3509 from bangerth/fix-test-2
Increase accuracy of output in one test.
Martin Kronbichler [Wed, 9 Nov 2016 09:20:40 +0000 (10:20 +0100)]
Merge pull request #3510 from bangerth/fix-slepc-test
Be more lenient with the exact number of iterations.
Martin Kronbichler [Wed, 9 Nov 2016 09:19:50 +0000 (10:19 +0100)]
Merge pull request #3505 from davydden/split_compilation_of_project_qp
split instantiation of VectorTools::project() for quadrature points data
Denis Davydov [Tue, 8 Nov 2016 06:11:14 +0000 (07:11 +0100)]
split instantiation of VectorTools::project() for quadrature points data
Wolfgang Bangerth [Wed, 9 Nov 2016 02:22:27 +0000 (19:22 -0700)]
Be more lenient with the exact number of iterations.
Wolfgang Bangerth [Wed, 9 Nov 2016 00:26:04 +0000 (17:26 -0700)]
Increase accuracy of output in one test.
This test outputs numbers such as 1/8=0.125 with just two digits after the decimal
point. Consequently, it depends on round-off and optimization flags if we get 0.12
or 0.13. Because the difference is so large, numdiff reports this as a failure.
Fix this by increasing the accuracy to 3 digits.
Wolfgang Bangerth [Wed, 9 Nov 2016 00:23:40 +0000 (17:23 -0700)]
Reduce the number of steps for high order mappings.
For high order mappings, we too quickly get close to round-off errors, with
tests failing depending on what optimization flags are used. Consequently,
don't use too fine meshes for high order mappings.
Martin Kronbichler [Tue, 8 Nov 2016 22:08:35 +0000 (23:08 +0100)]
Merge pull request #3392 from kalj/cuda-dir
Introduce configuration variable CUDA_DIR to select CUDA installation
David Wells [Tue, 8 Nov 2016 22:06:34 +0000 (17:06 -0500)]
Merge pull request #3507 from bangerth/add-changelog-entry
Add a changelog entry for all of the static analysis work.
Wolfgang Bangerth [Tue, 8 Nov 2016 20:47:32 +0000 (13:47 -0700)]
Merge pull request #3506 from drwells/add-missing-instantiation
Add a missing template instantiation.
Wolfgang Bangerth [Tue, 8 Nov 2016 20:37:20 +0000 (13:37 -0700)]
Add a changelog entry for all of the static analysis work.
David Wells [Tue, 8 Nov 2016 19:14:32 +0000 (14:14 -0500)]
Add a missing template instantiation.
Timo Heister [Tue, 8 Nov 2016 16:26:09 +0000 (11:26 -0500)]
Merge pull request #3504 from bangerth/remove-dead-code
Remove some dead code.
Wolfgang Bangerth [Tue, 8 Nov 2016 02:16:10 +0000 (19:16 -0700)]
Remove some dead code.
As the assertion at the top of the patch shows, 'starting_indices' must only have values
between 0 and N (=sparsity.n_rows()). Consequently, the loop that replaces out-of-bounds
values with numbers::invalid_size_type should never trigger. Further, the 'remove_if'
will also never do anything, and the fact that we accidentally not actually do anything
with its return value (as one should for 'remove_if') doesn't matter.
Martin Kronbichler [Tue, 8 Nov 2016 09:18:43 +0000 (10:18 +0100)]
Merge pull request #3498 from bangerth/initialize-members-8
Initialize member variables.
Martin Kronbichler [Tue, 8 Nov 2016 09:18:29 +0000 (10:18 +0100)]
Merge pull request #3503 from bangerth/fix-memory-test
Adjust memory consumption output.
Martin Kronbichler [Tue, 8 Nov 2016 09:18:10 +0000 (10:18 +0100)]
Merge pull request #3502 from kronbichler/master
Fix Chebyshev preconditioner
Martin Kronbichler [Mon, 7 Nov 2016 23:02:56 +0000 (00:02 +0100)]
Better initial guess for Chebyshev vector
Wolfgang Bangerth [Mon, 7 Nov 2016 23:00:45 +0000 (16:00 -0700)]
Adjust memory consumption output.
Martin Kronbichler [Mon, 7 Nov 2016 22:56:15 +0000 (23:56 +0100)]
Add missing include file
Wolfgang Bangerth [Mon, 7 Nov 2016 22:15:36 +0000 (15:15 -0700)]
Merge pull request #3499 from kronbichler/remove_memory_consumption_test
Remove alternative for memory consumption
Martin Kronbichler [Mon, 7 Nov 2016 22:05:41 +0000 (23:05 +0100)]
Remove alternative for memory consumption that does not seem necessary any more
Daniel Arndt [Mon, 7 Nov 2016 22:03:53 +0000 (23:03 +0100)]
Merge pull request #3493 from bangerth/provide-copy-op
Provide a copy operator.
Daniel Arndt [Mon, 7 Nov 2016 22:02:36 +0000 (23:02 +0100)]
Merge pull request #3483 from masterleinad/ignore_subdomain
Ignore subdomain_id in MatrixFree::resolve_cell
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.