]>
https://gitweb.dealii.org/ - dealii.git/log
Wolfgang Bangerth [Fri, 14 Aug 2015 14:48:51 +0000 (09:48 -0500)]
Fix another aspect of #1343.
This is another necessary fix for #1343, adding a missing #include.
It fixes 23 more tests that currently fail.
Martin Kronbichler [Fri, 14 Aug 2015 11:58:32 +0000 (13:58 +0200)]
Merge pull request #1341 from bangerth/fix-test-8
Update test output.
Matthias Maier [Fri, 14 Aug 2015 02:44:05 +0000 (21:44 -0500)]
Merge pull request #1358 from bangerth/fix-broken-merge-1343
Fix #1343.
Wolfgang Bangerth [Fri, 14 Aug 2015 01:52:45 +0000 (20:52 -0500)]
Fix #1343.
#1343 copied an *old* version of the code in .cc and .templates.h
files into the .h files, thereby undoing a significant portion of
the work of Hamed Maien in #1322. This restores this by using the
correct code and should thereby fix the ~700 testsuite failures that
#1343 introduced.
Matthias Maier [Thu, 13 Aug 2015 20:44:03 +0000 (15:44 -0500)]
Merge pull request #1352 from bangerth/deprecate-more-vector-functions
Deprecate more vector functions.
Wolfgang Bangerth [Thu, 13 Aug 2015 20:43:37 +0000 (15:43 -0500)]
Merge pull request #1354 from bangerth/work-around-msvc
Work around MS Visual Studio.
Wolfgang Bangerth [Thu, 13 Aug 2015 19:56:33 +0000 (14:56 -0500)]
Work around MS Visual Studio.
This should fix #1350 by using a std::function object instead of
calling Threads::new_task() with a bunch of arguments.
Matthias Maier [Thu, 13 Aug 2015 20:41:29 +0000 (15:41 -0500)]
Merge pull request #1353 from bangerth/further-FEValues-cleanups-13
Remove the is_first_cell/clear_first_cell() mechanism from Mapping.
Matthias Maier [Thu, 13 Aug 2015 20:41:16 +0000 (15:41 -0500)]
Merge pull request #1339 from bangerth/further-FEValues-cleanups-12
Make MappingFEField use only update_each.
Matthias Maier [Thu, 13 Aug 2015 20:37:09 +0000 (15:37 -0500)]
Merge pull request #1355 from bangerth/fix-warnings-2
Make compile. Fix a few warnings.
Matthias Maier [Thu, 13 Aug 2015 20:35:50 +0000 (15:35 -0500)]
Merge pull request #1356 from bangerth/also-doxygenize-source-files
Also run doxygen on source files.
Wolfgang Bangerth [Thu, 13 Aug 2015 20:33:54 +0000 (15:33 -0500)]
Also run doxygen on source files.
For each function recognized in a .cc file, this yields a nice
'Definition in line 1234 of file abcd.cc' mark with the documentation
of the function, both line and file being clickable so that people can
follow the link and actually see the source code.
Wolfgang Bangerth [Thu, 13 Aug 2015 20:02:38 +0000 (15:02 -0500)]
Make compile. Fix a few warnings.
#1343 did not compile for me, which is easily fixed by #including another
header file. Also fix a whole bunch of warnings that were introduced by #1343.
Finally, mark a comment in a way so that it doesn't get picked up by doxygen.
Wolfgang Bangerth [Thu, 13 Aug 2015 19:19:34 +0000 (14:19 -0500)]
Merge pull request #1343 from l-korous/msvc-fixes-
20150812
Move get_data(), get_face_data(), get_subface_data() definitions direā¦
Wolfgang Bangerth [Wed, 12 Aug 2015 17:44:48 +0000 (12:44 -0500)]
Remove the is_first_cell/clear_first_cell() mechanism from Mapping.
This truly makes the Mapping::InternalDataBase objects stateless: we no
longer need to worry about whether we are on the first cell or not.
Lukas Korous [Thu, 13 Aug 2015 19:13:53 +0000 (21:13 +0200)]
Add comments regarding the MSVC fixes.
Lukas Korous [Wed, 12 Aug 2015 20:02:11 +0000 (22:02 +0200)]
Move get_data(), get_face_data(), get_subface_data() definitions directly to places where declared.
Matthias Maier [Thu, 13 Aug 2015 19:03:26 +0000 (14:03 -0500)]
Merge pull request #1345 from bangerth/further-FEValues-cleanups-14
Improve Mapping documentation.
Wolfgang Bangerth [Wed, 12 Aug 2015 20:13:07 +0000 (15:13 -0500)]
Improve Mapping documentation.
Add some documentation. Put functions and classes in grouped
environments.
Wolfgang Bangerth [Thu, 13 Aug 2015 14:14:44 +0000 (09:14 -0500)]
Deprecate more vector functions.
These are a bit obscure and of questionable value. In particular,
these are functions that can't quite decide whether they would
belong into the VectorWithElementAccess category, or into the
VectorSpaceVector category. Thus, nuke them.
Matthias Maier [Thu, 13 Aug 2015 02:26:15 +0000 (21:26 -0500)]
Merge pull request #1347 from QiaoLei-88/docUpdateOfSparseMatrixEZ
remove a piece of inconsistent document of SparseMatrixEZ.copy_from()
Lei Qiao [Wed, 12 Aug 2015 22:05:35 +0000 (17:05 -0500)]
Improve documentation to function copy_from() of class BlockMatrixBase, chunkSparseMatrix, sparseMatrixEz and sparseMatrix
Matthias Maier [Thu, 13 Aug 2015 01:46:46 +0000 (20:46 -0500)]
Merge pull request #1321 from l-korous/msvc-debug
Explicitely specify disabling of optimizations for MSVC build.
Wolfgang Bangerth [Wed, 12 Aug 2015 20:58:19 +0000 (15:58 -0500)]
Merge pull request #1344 from drwells/use-std-abs
Remove a custom implementation of abs.
David Wells [Tue, 11 Aug 2015 22:11:01 +0000 (18:11 -0400)]
Remove a custom implementation of abs.
The std::abs function suffices.
Wolfgang Bangerth [Wed, 12 Aug 2015 17:45:13 +0000 (12:45 -0500)]
Update test output.
Wolfgang Bangerth [Wed, 12 Aug 2015 14:39:16 +0000 (09:39 -0500)]
Make MappingFEField use only update_each.
This is the exact equivalent to #1337 (commit
04430b5 ) but
for MappingFEField. The logic there seems to simply have been
copied from MappingQ1, so this was easy (and passes the testsuite).
Wolfgang Bangerth [Wed, 12 Aug 2015 15:27:23 +0000 (10:27 -0500)]
Merge pull request #1340 from kronbichler/master
Remove unused variable
Martin Kronbichler [Wed, 12 Aug 2015 15:17:28 +0000 (17:17 +0200)]
Remove unused variable
Martin Kronbichler [Wed, 12 Aug 2015 14:32:40 +0000 (16:32 +0200)]
Merge pull request #1331 from bangerth/further-FEValues-cleanups-10
Remove uses of Mapping::IDB::current_update_flags().
Martin Kronbichler [Wed, 12 Aug 2015 14:29:10 +0000 (16:29 +0200)]
Merge pull request #1326 from bangerth/fe-face-poly-cleanup
Delete unimplemented functions.
Martin Kronbichler [Wed, 12 Aug 2015 14:27:23 +0000 (16:27 +0200)]
Merge pull request #1337 from bangerth/further-FEValues-cleanups-11
Make MappingQ1 use only update_each.
Martin Kronbichler [Wed, 12 Aug 2015 14:17:04 +0000 (16:17 +0200)]
Merge pull request #1328 from bangerth/further-FEValues-cleanups-9
Remove fields from Mapping::InternalDataBase.
Martin Kronbichler [Wed, 12 Aug 2015 14:01:35 +0000 (16:01 +0200)]
Merge pull request #1330 from bangerth/doc-update-33
Improve error messages about ghosted vectors.
Martin Kronbichler [Wed, 12 Aug 2015 14:01:01 +0000 (16:01 +0200)]
Merge pull request #1336 from bangerth/doc-update-34
Fix up a formula.
Martin Kronbichler [Wed, 12 Aug 2015 14:00:21 +0000 (16:00 +0200)]
Merge pull request #1297 from masterleinad/branch_fe_bubbles_commit
Add FE_Q_Bubbles
Wolfgang Bangerth [Wed, 12 Aug 2015 13:10:45 +0000 (08:10 -0500)]
Make MappingQ1 use only update_each.
There is not really a need for MappingQ1 to do anything special on the
first cell -- it can already compute everything that would be update_once
at the time of calling get_data(). Do this, and then only use the
update_each flags in fill_fe_values.
Wolfgang Bangerth [Wed, 12 Aug 2015 12:35:20 +0000 (07:35 -0500)]
Fix up a formula.
Daniel Arndt [Wed, 12 Aug 2015 09:55:08 +0000 (04:55 -0500)]
Add tests for FE_Q_Bubbles
Daniel Arndt [Wed, 12 Aug 2015 09:50:50 +0000 (04:50 -0500)]
Implement FE_Q_Bubbles that is based on TensorProductPolynomialsBubbles
Daniel Arndt [Wed, 12 Aug 2015 09:47:51 +0000 (04:47 -0500)]
Implement a tensor product polynomial space enriched by bubble polynomials
Wolfgang Bangerth [Wed, 12 Aug 2015 11:22:24 +0000 (06:22 -0500)]
Merge pull request #1319 from kronbichler/master
Also implement Jacobians for MappingFEField.
Martin Kronbichler [Wed, 12 Aug 2015 09:03:16 +0000 (11:03 +0200)]
Merge pull request #1332 from bangerth/mapping-bug-fix
Fix a loop.
Martin Kronbichler [Wed, 12 Aug 2015 08:55:22 +0000 (10:55 +0200)]
Merge pull request #1318 from bangerth/further-FEValues-cleanups-8
Parallelize FESystem::get_*_data().
Wolfgang Bangerth [Wed, 12 Aug 2015 02:18:52 +0000 (21:18 -0500)]
Merge pull request #1327 from maieneuro/optimize_fe_poly_tensor
Initialize scratch vectors for transformed values and gradients early
Wolfgang Bangerth [Wed, 12 Aug 2015 00:57:57 +0000 (19:57 -0500)]
Fix a loop.
The comment in front provides the correct logic, but is not up to date
with the actual code. Bring the code in compliance and update the comment.
Wolfgang Bangerth [Tue, 11 Aug 2015 23:30:33 +0000 (18:30 -0500)]
Remove uses of Mapping::IDB::current_update_flags().
This is the first step towards addressing #1305: MappingCartesian doesn't
actually pre-compute anything at all (update_once is empty), so what
current_update_flags() returns is always equal to update_each. I want to
move to a place where we never use current_update_flags() and in the
fill_fe_*_values() functions only reference update_each. This is simple
for this class, because the two are the same. So replace all occurrences of
current_update_flags() by update_each.
Wolfgang Bangerth [Tue, 11 Aug 2015 23:03:35 +0000 (18:03 -0500)]
Improve error messages about ghosted vectors.
The TrilinosWrappers::VectorBase class declared its own version of
ExcGhostsPresent that hid the class we already declare globally in
exceptions.h, and thereby led to a situation where we output less
information than is available. This also led to some confusion as
evidenced by a recent mail on the mailing list.
Fix this by removing the extraneous class. Also augment the error
message of the existing class.
Wolfgang Bangerth [Tue, 11 Aug 2015 22:19:19 +0000 (17:19 -0500)]
Remove fields from Mapping::InternalDataBase.
It turns out that all of the non-is_first_cell/clear_first_cell() member
variables of Mapping::InternalDataBase are only referenced in Mapping
member functions that are unused throughout the rest of the library.
While they were public, they took an internal object as argument, so
were almost certainly not used anywhere by anyone. Consequently,
zap the fields and the functions that use them.
Maien Hamed [Tue, 11 Aug 2015 12:31:26 +0000 (14:31 +0200)]
Initialize scratch vectors for transformed values and gradients in get_data.
Added entry to doc/news/changes.h reflecting analytical hessian computations
Wolfgang Bangerth [Tue, 11 Aug 2015 16:01:04 +0000 (11:01 -0500)]
Delete unimplemented functions.
FE_PolyFace had a lot of functions in the header file that are
declared in the base class and implemented in some of the derived
finite element classes, but commented out in the current one.
Remove those -- there is no value leaving cruft in the header
file.
Wolfgang Bangerth [Tue, 11 Aug 2015 15:02:49 +0000 (10:02 -0500)]
Merge pull request #1324 from thingishness/doc_update
Added change to changes.h
Jason P. Sheldon [Tue, 11 Aug 2015 13:51:42 +0000 (09:51 -0400)]
Used proper doxygen syntax for cross-link
Jason P. Sheldon [Tue, 11 Aug 2015 13:40:07 +0000 (09:40 -0400)]
Added change to changes.h
Wolfgang Bangerth [Sun, 9 Aug 2015 23:07:27 +0000 (18:07 -0500)]
Parallelize FESystem::get_*_data().
These functions call the respective functions in the base class. This
may as well be done in parallel.
Wolfgang Bangerth [Tue, 11 Aug 2015 13:17:03 +0000 (08:17 -0500)]
Merge pull request #1322 from maieneuro/modify_hessian_to_analytical
Modify hessian computations from numerical to analytical differentiation
Maien Hamed [Tue, 11 Aug 2015 10:24:59 +0000 (12:24 +0200)]
replaced test reference output with more accurate values
Maien Hamed [Mon, 10 Aug 2015 21:16:06 +0000 (23:16 +0200)]
Modify hessian computations from numerical to analytical differentiation
Lukas Korous [Mon, 10 Aug 2015 21:53:01 +0000 (23:53 +0200)]
Explicitely specify disabling of optimizations for MSVC build.
Bruno Turcksin [Mon, 10 Aug 2015 20:20:28 +0000 (15:20 -0500)]
Merge pull request #1320 from bangerth/doc-update-25
Update documentation of CellAccessor::active_cell_index().
Wolfgang Bangerth [Mon, 10 Aug 2015 20:13:47 +0000 (15:13 -0500)]
Update documentation of CellAccessor::active_cell_index().
Martin Kronbichler [Mon, 10 Aug 2015 09:23:14 +0000 (11:23 +0200)]
Also implement Jacobians for MappingFEField.
Martin Kronbichler [Mon, 10 Aug 2015 10:01:58 +0000 (12:01 +0200)]
Merge pull request #1285 from thingishness/master
New function for mapping to project transformed point to face
Martin Kronbichler [Mon, 10 Aug 2015 09:53:30 +0000 (11:53 +0200)]
Merge pull request #1316 from bangerth/further-FEValues-cleanups-7
Remove is_first_cell().
Wolfgang Bangerth [Sun, 9 Aug 2015 21:27:23 +0000 (16:27 -0500)]
Remove is_first_cell().
The InternalDataBase::is_first_cell() function is now no longer used
(though the value it returns is still internally used in
current_update_flags()). Remove the function.
Martin Kronbichler [Sun, 9 Aug 2015 19:49:41 +0000 (21:49 +0200)]
Merge pull request #1315 from bangerth/further-FEValues-cleanups-6
Do initialization early.
Wolfgang Bangerth [Sun, 9 Aug 2015 18:10:30 +0000 (13:10 -0500)]
Do initialization early.
Previously, FESystem delayed initializing the base element's data
objects until we first visited fill_fe_values(). Do this earlier:
when the base element's data objects are first created.
This involves a change in the update flags being used. I think that
there is some confusion about update flags anyway, since we should
always be using update_each. The change made here passes the testsuite,
so I believe it is correct. It is likely also easier to understand
than what the old code did.
Guido Kanschat [Sun, 9 Aug 2015 14:05:01 +0000 (16:05 +0200)]
Merge pull request #1313 from QiaoLei-88/RemoveExtraRef
remove an extra @ref in document of AssertThrow
Guido Kanschat [Sun, 9 Aug 2015 13:56:03 +0000 (15:56 +0200)]
Merge pull request #1311 from kronbichler/master
Also compute gradients of Jacobians on faces
Timo Heister [Sun, 9 Aug 2015 07:37:17 +0000 (02:37 -0500)]
Merge pull request #1281 from bangerth/doxygen-updates
Fix a variety of doxygen problems.
Lei Qiao [Sun, 9 Aug 2015 05:41:38 +0000 (00:41 -0500)]
remove an extra @ref in documentation of AssertThrow
Martin Kronbichler [Sat, 8 Aug 2015 20:28:39 +0000 (22:28 +0200)]
Also compute gradients of Jacobians on faces
Martin Kronbichler [Sat, 8 Aug 2015 19:37:09 +0000 (21:37 +0200)]
Merge pull request #1307 from bangerth/further-FEValues-cleanups-5
Don't derive FE::InternalDataBase from Mapping::InternalDataBase.
Wolfgang Bangerth [Sat, 8 Aug 2015 19:36:35 +0000 (14:36 -0500)]
Merge pull request #1304 from drwells/update-step-14
Update step 14
Wolfgang Bangerth [Thu, 6 Aug 2015 22:24:07 +0000 (17:24 -0500)]
Exclude a particular directory if it doesn't exist.
Wolfgang Bangerth [Thu, 6 Aug 2015 11:51:07 +0000 (06:51 -0500)]
Fix latex problems.
Wolfgang Bangerth [Thu, 6 Aug 2015 11:50:12 +0000 (06:50 -0500)]
Fix invalid references.
Wolfgang Bangerth [Sat, 8 Aug 2015 12:48:50 +0000 (07:48 -0500)]
Remove a comment that is now outdated.
Wolfgang Bangerth [Sat, 8 Aug 2015 02:59:02 +0000 (21:59 -0500)]
No longer derive InternalDataBase from Subscriptor.
This is no longer necessary now that we store unique_ptrs to them.
Wolfgang Bangerth [Sat, 8 Aug 2015 02:58:21 +0000 (21:58 -0500)]
Use a std_cxx11::unique_ptr in FEValues.
Specifically, use it for the internal data objects of mapping and
finite element. These pointers are internally created and used in the
FEValues class. They are not shared by any external interface. Using
a unique_ptr ensures no memory leaks.
Wolfgang Bangerth [Sat, 8 Aug 2015 02:56:48 +0000 (21:56 -0500)]
Add memory consumption function for std_cxx11::unique_ptr.
Matthias Maier [Sat, 8 Aug 2015 18:33:11 +0000 (13:33 -0500)]
Merge pull request #1309 from QiaoLei-88/docAssert
Specify when Assert* will be active in immediate documentation more explicitly
Lei Qiao [Sat, 8 Aug 2015 16:20:37 +0000 (11:20 -0500)]
Specify when Assert* will be active in immediate documentation
David Wells [Fri, 7 Aug 2015 19:37:40 +0000 (15:37 -0400)]
Change step-14 to resemble step-13 more closely.
Step-13 calls the error per cell in the Kelly error estimator
estimated_error_per_cell, not estimated_error.
Step-13 arranges the code creating the right hand side and system matrix in a
slightly different way.
Step-13 sets different member variables as protected.
David Wells [Fri, 24 Jul 2015 18:08:46 +0000 (14:08 -0400)]
Removed an unneeded constructor and comment.
David Wells [Fri, 24 Jul 2015 18:02:36 +0000 (14:02 -0400)]
Remove step-14 workaround for an old GCC version.
I believe this was a 2.96 issue that has long since been fixed.
David Wells [Fri, 24 Jul 2015 17:59:34 +0000 (13:59 -0400)]
Use unique_ptrs in step-14.
This replaces some SmartPointers that referred to heap-allocated objects that
were not properly deleted as well as some plain pointers.
David Wells [Fri, 24 Jul 2015 17:56:48 +0000 (13:56 -0400)]
Simplify the WorkStream parts of step-14.
This makes it more like step-13, which is one of the goals of this
example program.
David Wells [Fri, 24 Jul 2015 15:35:34 +0000 (11:35 -0400)]
Remove unneeded friend declarations in step-14.
David Wells [Fri, 24 Jul 2015 15:29:28 +0000 (11:29 -0400)]
Remove some workarounds in step-14 for GCC 2.96.
David Wells [Fri, 7 Aug 2015 21:42:39 +0000 (17:42 -0400)]
Update the step-14 output values.
These are the values printed by step-14 on the master branch at this time.
Wolfgang Bangerth [Sat, 8 Aug 2015 02:26:41 +0000 (21:26 -0500)]
Do not derive FE::InternalDataBase from Mapping::InternalDataBase.
It turns out that FiniteElement::InternalDataBase does not actually need any
of the fields of the class it was previously derived from (other than the
is_first_cell/clear_first_cell mechanism, see #1305). So break the inheritance
and have these two classes be completely unrelated.
Wolfgang Bangerth [Sat, 8 Aug 2015 02:22:01 +0000 (21:22 -0500)]
Merge pull request #1306 from QiaoLei-88/docInSmartPointer
fix typos in documentation in SmartPointer.
Lei Qiao [Fri, 7 Aug 2015 23:50:58 +0000 (18:50 -0500)]
fix typos in documentation in SmartPointer.
Wolfgang Bangerth [Fri, 7 Aug 2015 22:16:52 +0000 (17:16 -0500)]
Minor cleanups.
Guido Kanschat [Fri, 7 Aug 2015 21:46:02 +0000 (23:46 +0200)]
Merge pull request #1299 from alistairbntl/master
Improved polynomial_bdm documentation.
Alistair Bentley [Fri, 7 Aug 2015 07:32:14 +0000 (03:32 -0400)]
Modified polynomial_bdm documentation.
- added additional details about source references
- added additional details about properties of bdm elements
- added a general description of the structure for 2D and 3D
bdm polynomials.
- added additional details about degrees of freedom
Jason Sheldon [Fri, 7 Aug 2015 19:46:52 +0000 (15:46 -0400)]
Changed function name and added test
Martin Kronbichler [Fri, 7 Aug 2015 18:57:46 +0000 (20:57 +0200)]
Merge pull request #1302 from kronbichler/fix_find_cell_tests
Fix find_cell tests by avoiding ambiguity in point
Matthias Maier [Fri, 7 Aug 2015 17:23:52 +0000 (12:23 -0500)]
Merge pull request #1296 from jhineman/fix-readme.md
Added how to build from repository.
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.