]>
https://gitweb.dealii.org/ - dealii.git/log
Martin Kronbichler [Mon, 2 Mar 2015 09:01:05 +0000 (10:01 +0100)]
Merge pull request #624 from bangerth/minor-vector-cleanups
Minor vector cleanups
Wolfgang Bangerth [Sun, 1 Mar 2015 19:07:37 +0000 (13:07 -0600)]
Fix another occurrence of allocate() in the serialization load function.
This also uncovers a memory leak we had.
Wolfgang Bangerth [Sun, 1 Mar 2015 16:20:47 +0000 (10:20 -0600)]
Ensure we don't create a memory leak.
Wolfgang Bangerth [Sun, 1 Mar 2015 16:18:16 +0000 (10:18 -0600)]
Since all arguments to Vector::allocate() are the same, remove it.
Wolfgang Bangerth [Sun, 1 Mar 2015 16:15:19 +0000 (10:15 -0600)]
Move assertion whether we are out of memory to the location where we allocate it.
Timo Heister [Sun, 1 Mar 2015 16:46:58 +0000 (11:46 -0500)]
Merge pull request #623 from tjhei/simd_intel_part2
move EnableOpenMPSimdFor struct into parallel.h so it is public
use in tests/lac/intel-15-bug
Timo Heister [Sat, 28 Feb 2015 22:20:20 +0000 (17:20 -0500)]
move EnableOpenMPSimdFor to parallel.h, update test
- move EnableOpenMPSimdFor struct into parallel.h so it is public
- use in tests/lac/intel-15-bug
Timo Heister [Sun, 1 Mar 2015 16:02:38 +0000 (11:02 -0500)]
Merge pull request #620 from bangerth/introduce-DeclExceptionMsg
Introduce DeclExceptionMsg.
Wolfgang Bangerth [Sat, 28 Feb 2015 20:59:44 +0000 (14:59 -0600)]
Convert ExcInternalError to DeclExceptionMsg.
Wolfgang Bangerth [Sat, 28 Feb 2015 03:45:04 +0000 (21:45 -0600)]
Introduce DeclExceptionMsg.
Timo Heister [Sat, 28 Feb 2015 22:09:00 +0000 (17:09 -0500)]
Merge pull request #619 from bangerth/remove-exceptions-without-arguments-4
More work to make exceptions more meaningful.
Wolfgang Bangerth [Sat, 28 Feb 2015 21:10:18 +0000 (15:10 -0600)]
Merge pull request #622 from drwells/remove-deprecated-mpi-macro
Remove use of `DEAL_II_COMPILER_SUPPORTS_MPI`.
David Wells [Sat, 28 Feb 2015 16:09:42 +0000 (11:09 -0500)]
Remove use of `DEAL_II_COMPILER_SUPPORTS_MPI`.
This macro was removed in favor of `DEAL_II_WITH_MPI` in early 2015;
see `doc/news/changes.h` for more information.
Wolfgang Bangerth [Sat, 28 Feb 2015 13:44:36 +0000 (07:44 -0600)]
Merge pull request #608 from tjhei/no_long_double_simd
[WIP] Disabled SIMD vector operations for certain types
Timo Heister [Thu, 26 Feb 2015 14:14:11 +0000 (09:14 -0500)]
Disable SIMD vector operations for certain types
Disable long double SIMD instructions on ICC. This is to work around a
bug that generates wrong code at least up to intel 15 (see tests/lac
/vector-vector, tests/lac/intel-15-bug, and the discussion at
https://github.com/dealii/dealii/issues/598).
Wolfgang Bangerth [Sat, 28 Feb 2015 02:14:43 +0000 (20:14 -0600)]
More work to make exceptions more meaningful.
Wolfgang Bangerth [Sat, 28 Feb 2015 02:08:16 +0000 (20:08 -0600)]
Merge pull request #614 from bangerth/remove-exceptions-without-arguments-2
Significantly improve another exception that currently does not print any text.
Wolfgang Bangerth [Sat, 28 Feb 2015 02:09:46 +0000 (20:09 -0600)]
Address Timo's concerns during review.
Timo Heister [Fri, 27 Feb 2015 21:14:48 +0000 (16:14 -0500)]
Merge pull request #618 from bangerth/remove-exceptions-without-argument-3
Remove assertion without argument.
Specifically, replace ExcNumberNotFinite with a way to provide both this number and a (lengthy) explanation of what may possibly have caused this problem.
Wolfgang Bangerth [Fri, 27 Feb 2015 20:37:52 +0000 (14:37 -0600)]
Remove assertion without argument.
Specifically, replace ExcNumberNotFinite with a way to provide both this number and a (lengthy) explanation of what may possibly have caused this problem. I see my students struggle with this error.
Wolfgang Bangerth [Fri, 27 Feb 2015 19:21:59 +0000 (13:21 -0600)]
Merge pull request #615 from tjhei/add_interpolate_assert
add size assert to VectorTools::interpolate
Timo Heister [Fri, 27 Feb 2015 19:11:29 +0000 (14:11 -0500)]
add size assert to VectorTools::interpolate
Wolfgang Bangerth [Fri, 27 Feb 2015 14:33:00 +0000 (08:33 -0600)]
Significantly improve another exception that currently does not print any text.
Martin Kronbichler [Fri, 27 Feb 2015 13:15:41 +0000 (14:15 +0100)]
Merge pull request #612 from bangerth/fix-thinko
Fix a thinko that in its current state makes no sense at all.
Wolfgang Bangerth [Fri, 27 Feb 2015 13:15:15 +0000 (07:15 -0600)]
Fix a thinko that in its current state makes no sense at all.
Martin Kronbichler [Fri, 27 Feb 2015 07:46:27 +0000 (08:46 +0100)]
Merge pull request #611 from bangerth/remove-exceptions-without-arguments
Remove exceptions without arguments.
Martin Kronbichler [Fri, 27 Feb 2015 07:44:44 +0000 (08:44 +0100)]
Merge pull request #606 from QiaoLei-88/Step33CrankNicolsonFix
Step33 update (Crank-Nicolson scheme & artificial viscosity)
Lei Qiao [Fri, 27 Feb 2015 06:10:04 +0000 (00:10 -0600)]
format indentation and delete deprecated code
Lei Qiao [Fri, 27 Feb 2015 05:30:49 +0000 (23:30 -0600)]
remove explicit memory allocation
Wolfgang Bangerth [Fri, 27 Feb 2015 03:42:40 +0000 (21:42 -0600)]
Fix up previous commit. Improve other error messages.
Wolfgang Bangerth [Fri, 27 Feb 2015 03:34:13 +0000 (21:34 -0600)]
Replace a common exception without argument by something that has a significant amount of descriptive text explaining what is happening.
Wolfgang Bangerth [Fri, 27 Feb 2015 03:27:46 +0000 (21:27 -0600)]
Replace a common exception without argument by something that has a significant amount of descriptive text explaining what is happening.
Wolfgang Bangerth [Fri, 27 Feb 2015 03:00:56 +0000 (21:00 -0600)]
Merge pull request #609 from tjhei/nocxx11_test_fixes
no cxx11 test fixes
Lei Qiao [Fri, 27 Feb 2015 03:00:25 +0000 (21:00 -0600)]
one more 'spacial'
Wolfgang Bangerth [Fri, 27 Feb 2015 03:00:09 +0000 (21:00 -0600)]
Improve grammar in exceptions.
Wolfgang Bangerth [Fri, 27 Feb 2015 02:58:51 +0000 (20:58 -0600)]
Replace an exception without argument.
In this case, the exception is really an internal error that indicates an inconsistent state of our data structures. There isn't really a good reason to not use ExcMessage with some descriptive text.
Wolfgang Bangerth [Fri, 27 Feb 2015 02:52:43 +0000 (20:52 -0600)]
Remove an exception that is declared but not actually used any more.
Wolfgang Bangerth [Fri, 27 Feb 2015 02:52:19 +0000 (20:52 -0600)]
Remove an exception that is declared but not actually used any more.
Wolfgang Bangerth [Fri, 27 Feb 2015 02:49:36 +0000 (20:49 -0600)]
Replace an exception without argument.
In this case, the exception is really an internal error that indicates an inconsistent state of our data structures. There isn't really a good reason to not use ExcMessage with some descriptive text.
Wolfgang Bangerth [Fri, 27 Feb 2015 02:44:57 +0000 (20:44 -0600)]
Replace an exception without argument.
In this case, the exception is really an internal error that indicates an inconsistent state of our data structures. There isn't really a good reason to not use ExcMessage with some descriptive text.
Timo Heister [Fri, 27 Feb 2015 02:28:24 +0000 (21:28 -0500)]
no cxx1 test fixes
Fix two tests that won't compile without c++ 11
Lei Qiao [Thu, 26 Feb 2015 18:35:10 +0000 (12:35 -0600)]
Responses to review comments
Lei Qiao [Thu, 26 Feb 2015 00:42:05 +0000 (18:42 -0600)]
Repair indentation style
Wolfgang Bangerth [Thu, 26 Feb 2015 00:02:47 +0000 (18:02 -0600)]
Merge pull request #607 from tjhei/intel_bug
add failing test on intel 15
Timo Heister [Wed, 25 Feb 2015 22:33:07 +0000 (17:33 -0500)]
add failing test on intel 15
This adds a simplified version of vector-vector.cc that fails in release mode on Intel.
Lei Qiao [Wed, 25 Feb 2015 20:46:49 +0000 (14:46 -0600)]
Trim all trailing white blanks
Lei Qiao [Wed, 25 Feb 2015 20:36:08 +0000 (14:36 -0600)]
Update URL of vedio image file in the result part
Toby D. Young [Wed, 25 Feb 2015 14:35:25 +0000 (15:35 +0100)]
Merge pull request #604 from bangerth/more-tensor-fixes-2
More tensor fixes 2
Wolfgang Bangerth [Wed, 25 Feb 2015 14:22:38 +0000 (08:22 -0600)]
Provide even more specializations of ProductType in non-C++11 mode.
Wolfgang Bangerth [Wed, 25 Feb 2015 14:08:53 +0000 (08:08 -0600)]
Merge pull request #603 from tjhei/sparse_mic_optimization
SparseMIC optimization
Wolfgang Bangerth [Wed, 25 Feb 2015 13:57:18 +0000 (07:57 -0600)]
Explicitly provide ProductType for Tensor<rank,dim> in non-C++11 mode.
Wolfgang Bangerth [Wed, 25 Feb 2015 13:56:30 +0000 (07:56 -0600)]
Explicitly provide ProductType for Tensor<1,dim> in non-C++11 mode.
Wolfgang Bangerth [Wed, 25 Feb 2015 13:53:53 +0000 (07:53 -0600)]
Provide more specializations of ProductType for the non-C++11 case.
Wolfgang Bangerth [Wed, 25 Feb 2015 13:50:14 +0000 (07:50 -0600)]
Avoid C++11'isms.
Wolfgang Bangerth [Wed, 25 Feb 2015 13:49:02 +0000 (07:49 -0600)]
Add another template specialization for ProductType.
Timo Heister [Wed, 25 Feb 2015 14:03:04 +0000 (09:03 -0500)]
SparseMIC optimization
It seems like we are computing a mat-vec just to overwrite it a couple
of lines later. Remove it.
Wolfgang Bangerth [Wed, 25 Feb 2015 14:00:25 +0000 (08:00 -0600)]
Merge pull request #602 from tjhei/sparse_mic_fixes
fix SparseMIC
Wolfgang Bangerth [Wed, 25 Feb 2015 14:00:02 +0000 (08:00 -0600)]
Merge pull request #601 from tjhei/open_cascade_error
fix error in opencascade assert
Timo Heister [Wed, 25 Feb 2015 13:56:22 +0000 (08:56 -0500)]
fix SparseMIC
We need to initialize the decomposition before we can look at this->m()
and this->n(). Bug got introduced in
27b50d8 .
Timo Heister [Wed, 25 Feb 2015 13:52:47 +0000 (08:52 -0500)]
Merge pull request #599 from tjhei/fix_warnings
fix compiler warnings
that got introduced in
61a893a (#197)
Timo Heister [Wed, 25 Feb 2015 13:40:53 +0000 (08:40 -0500)]
fix error in opencascade assert
Timo Heister [Wed, 25 Feb 2015 13:18:32 +0000 (08:18 -0500)]
fix compiler warnings
that got introduced in
61a893a (#197)
Wolfgang Bangerth [Wed, 25 Feb 2015 13:02:45 +0000 (07:02 -0600)]
Merge pull request #597 from bangerth/add-test-4
Update Utilities::split_string_list
Wolfgang Bangerth [Tue, 24 Feb 2015 23:46:55 +0000 (17:46 -0600)]
Add another test. Update another.
Wolfgang Bangerth [Tue, 24 Feb 2015 23:45:39 +0000 (17:45 -0600)]
Clarify some of the corner cases of the split_string_list() function.
Wolfgang Bangerth [Tue, 24 Feb 2015 23:41:36 +0000 (17:41 -0600)]
Merge pull request #197 from rosskynch/fix_project_bv_curl_conf
Fix project bv curl conf
Wolfgang Bangerth [Tue, 24 Feb 2015 23:30:50 +0000 (17:30 -0600)]
Merge pull request #595 from mfherbst/master
Use AlignedVector::size_type in all of table.h
Wolfgang Bangerth [Tue, 24 Feb 2015 23:28:23 +0000 (17:28 -0600)]
Merge pull request #596 from tjhei/petsc_mat_compress
PETSc mat compress
Timo Heister [Tue, 24 Feb 2015 17:51:50 +0000 (12:51 -0500)]
fix a few broken tests
Looks like somebody messed up the VectorOperation in compress() in many
places.
Wolfgang Bangerth [Tue, 24 Feb 2015 22:33:33 +0000 (16:33 -0600)]
Add a test for a patch by Menno Fraters this morning.
Timo Heister [Tue, 24 Feb 2015 15:10:30 +0000 (10:10 -0500)]
add compress() error checks for PETSc vectors
Timo Heister [Tue, 24 Feb 2015 14:45:01 +0000 (09:45 -0500)]
remove compress without args from all PETSc sparse matrix types
- compress() without arguments was deprecated and now got remove
- replace redundant LastAction enum in by VectorOperation
- add additional compress() check.
Michael F. Herbst [Tue, 24 Feb 2015 15:14:04 +0000 (16:14 +0100)]
Merge branch 'master' of https://github.com/dealii/dealii
Michael F. Herbst [Tue, 24 Feb 2015 15:07:59 +0000 (16:07 +0100)]
Use AlignedVector::size_type in all of table.h
In all classes of table.h the type Use AlignedVector::size_type is now
used for the calculation of indices for the values vector and the
indexing of elements in the values vector.
Note: This commit changes the interface of the n_elements function
in TableBase<N,T>
Wolfgang Bangerth [Tue, 24 Feb 2015 14:21:51 +0000 (08:21 -0600)]
Merge pull request #594 from MFraters/patch-1
empty string in split_string_list fix
Ross Kynch [Tue, 14 Oct 2014 13:54:57 +0000 (14:54 +0100)]
Added project_boundary_values_curl_conforming_l2() to VectorTools for
use with FE_Nedelec elements in 2D & 3D.
This includes a test code included in tests/deal.II to check it works correctly.
This new function uses an L2-projection on edges and
faces (only edges in 2D, both for 3D) to compute
the constaints and factors in the residual from the edge
projection when computing the face constraints. The original
function project_boundary_values_curl_conforming() has
problems with non-rectangular faces, this one does not. The
function assumes that the face orientations are standard (e.g. a
sphere may cause problems due to mismatched face orientations).
The test shows that project_boundary_curl_conforming_l2() works on a
distorted cube (non-rectangular faces) for a simple test case
(polynomial function).
Martin Kronbichler [Tue, 24 Feb 2015 13:42:17 +0000 (14:42 +0100)]
Merge pull request #593 from bangerth/remove-deprecated-functions-13
Remove deprecated function SparseLUDecomposition::decompose.
MFraters [Tue, 24 Feb 2015 13:38:40 +0000 (14:38 +0100)]
Changed evaluation order
Wolfgang Bangerth [Tue, 24 Feb 2015 13:37:42 +0000 (07:37 -0600)]
Update documentation.
Wolfgang Bangerth [Tue, 24 Feb 2015 13:27:40 +0000 (07:27 -0600)]
Remove the SparseLUDecomposition::decomposed variable.
It is only ever written to, never read.
Michael F. Herbst [Tue, 24 Feb 2015 11:57:18 +0000 (12:57 +0100)]
Use AlignedVector::size_type in Table::operator()
Use AlignedVector<T>::size_type as the integer type to carry out the
calculation of the index in the values AlignedVector object for the
various operator() and el() functions of Table<N,T> and its explicit
specialisations.
MFraters [Tue, 24 Feb 2015 10:32:07 +0000 (11:32 +0100)]
empty string in split_string_list fix
When an empty string or a string with only spaces is given to this function, the split_string_list function will ask in line 222 for name[-1], which will result in unpredictable behaviour. I propose to prevent this by adding a condition that the length of the string may not be 0.
Martin Kronbichler [Tue, 24 Feb 2015 08:11:05 +0000 (09:11 +0100)]
Merge pull request #576 from dakshinai/master
modified filtered_matrix tests to work with square matrices only
Wolfgang Bangerth [Tue, 24 Feb 2015 03:23:27 +0000 (21:23 -0600)]
Remove deprecated function SparseLUDecomposition::decompose.
Wolfgang Bangerth [Mon, 23 Feb 2015 21:31:27 +0000 (15:31 -0600)]
Merge pull request #591 from tjhei/wrapcomments
wrapcomments
Wolfgang Bangerth [Mon, 23 Feb 2015 21:31:18 +0000 (15:31 -0600)]
Merge pull request #592 from tjhei/ez_const_fix
add missing const
Timo Heister [Mon, 23 Feb 2015 21:27:45 +0000 (16:27 -0500)]
add missing const
Doxygen was rightfully complaining
Timo Heister [Mon, 23 Feb 2015 21:25:20 +0000 (16:25 -0500)]
sneak in documentation improvements
Timo Heister [Mon, 23 Feb 2015 21:20:40 +0000 (16:20 -0500)]
run wrapcomments
Timo Heister [Mon, 23 Feb 2015 21:06:01 +0000 (16:06 -0500)]
manual edits to doxygen comments
Timo Heister [Mon, 23 Feb 2015 20:58:12 +0000 (15:58 -0500)]
update wrapcomments script
handle many additional doxygen commands correctly
Timo Heister [Mon, 23 Feb 2015 14:58:15 +0000 (09:58 -0500)]
Merge pull request #588 from bangerth/unique_ptr
Add a workaround class for std::unique_ptr that can also be used in the ...
Wolfgang Bangerth [Mon, 23 Feb 2015 14:34:16 +0000 (08:34 -0600)]
Merge pull request #590 from kronbichler/master
Comment on the behavior of FE_TraceQ as compared to FE_Q.
Wolfgang Bangerth [Mon, 23 Feb 2015 14:32:37 +0000 (08:32 -0600)]
Merge pull request #589 from mfherbst/master
Use AlignedVector::size_type in TableBase::position
Martin Kronbichler [Mon, 23 Feb 2015 14:29:36 +0000 (15:29 +0100)]
Comment on the behavior of FE_TraceQ as compared to FE_Q.
Michael F. Herbst [Mon, 23 Feb 2015 14:28:07 +0000 (15:28 +0100)]
Merge remote-tracking branch 'upstream/master'
Michael F. Herbst [Mon, 23 Feb 2015 13:59:05 +0000 (14:59 +0100)]
Use AlignedVector::size_type in TableBase::position
Use AlignedVector<T>::size_type as the integer type to carry out the
calculation of the position of the element indicated by the
TableIndices<N> object.
This has the advantage that a potential integer overflow for Tables
with sizes less than max long int in each dimension, but with more than
max long int entries is prevented.
Martin Kronbichler [Mon, 23 Feb 2015 12:09:42 +0000 (13:09 +0100)]
Merge pull request #585 from kronbichler/master
Enable make_hanging_node_constraints with FE_TraceQ.
Martin Kronbichler [Mon, 23 Feb 2015 12:04:19 +0000 (13:04 +0100)]
Add test case for static condensation with FE_TraceQ.
Martin Kronbichler [Sat, 21 Feb 2015 17:31:45 +0000 (18:31 +0100)]
Enable make_hanging_node_constraints with FE_TraceQ.
Patch by Anton Evgrafov.
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.