]>
https://gitweb.dealii.org/ - dealii.git/log
Matthias Maier [Sat, 12 Sep 2015 23:47:11 +0000 (18:47 -0500)]
Bugfix: Allow compilation in C++98 mode
The boost variant boost::enable_if_c cannot be used to prevent the compiler
from trying to form Tensor<rank, dim, Number> objects with negative rank -
this results in an infinite template substitution and subsequent failure.
But we can use the tensor class itself as cheap "enable_if" mechanism -
just specialize Tensor<-1, dim> and Tensor<-2, dim> such that they do not
contain the necessary overloads.
Matthias Maier [Sat, 12 Sep 2015 21:27:43 +0000 (16:27 -0500)]
Improve documentation, add missing @relates
Matthias Maier [Sat, 12 Sep 2015 05:24:21 +0000 (00:24 -0500)]
Testsuite: Improve base/tensor_accessors_01
Matthias Maier [Sat, 12 Sep 2015 21:41:26 +0000 (16:41 -0500)]
Testsuite: Briefly describe two tests
Matthias Maier [Sat, 12 Sep 2015 05:15:24 +0000 (00:15 -0500)]
Add a test
Matthias Maier [Sat, 12 Sep 2015 21:36:40 +0000 (16:36 -0500)]
Use a private member object instead of public inheritance
Matthias Maier [Sat, 12 Sep 2015 04:49:21 +0000 (23:49 -0500)]
Bugfix: Fix return value of StoredIndex<1, S>
The problem is subtle. TensorAccessors::reordered_index_view returns an
internal object that behaves like a tensor.
The problem is that fully accessing the tensorial object, i.e., applying
operator[](unsigned int) rank times returned an object of type
StoreIndex<0, [...]>
instead of type Number of the original tensor. The problem is that the
compiler has no way of knowing whether we want to cast this object to
Number during type matching, thus something like
std::min( StoreIndex<0, [...]>(...), (double)4.);
fails.
Matthias Maier [Sat, 12 Sep 2015 02:36:59 +0000 (21:36 -0500)]
Tensor<rank,dim,Number> - Implement operator* with TensorAccessors::contract
Matthias Maier [Sat, 12 Sep 2015 01:58:57 +0000 (20:58 -0500)]
Tensor<rank,dim,Number> - use TensorAccessors::extract
Remove special internal code and use the generic implementation in
TensorAccessors::extract.
Timo Heister [Sat, 12 Sep 2015 19:17:10 +0000 (15:17 -0400)]
Merge pull request #1588 from bangerth/further-FEValues-cleanups-34
Simplify MappingQ.
Wolfgang Bangerth [Sat, 12 Sep 2015 12:07:07 +0000 (07:07 -0500)]
Make several more functions part of the internal implementation.
This allows us to remove them from the public interface.
Wolfgang Bangerth [Sat, 12 Sep 2015 11:12:57 +0000 (06:12 -0500)]
Merge pull request #1587 from tamiko/bugfix2
Minor bugfixes
Wolfgang Bangerth [Sat, 12 Sep 2015 01:07:14 +0000 (20:07 -0500)]
Move several functions from the public interface of MappingQ into the .cc file.
Matthias Maier [Sat, 12 Sep 2015 06:42:34 +0000 (01:42 -0500)]
Bugfix: Be consistent and cast to const Number &
Matthias Maier [Sat, 12 Sep 2015 06:41:15 +0000 (01:41 -0500)]
Bugfix: Use declval in decltype expression
```
decltype(std::declval<T>() * std::declval<U>())
```
is the correct syntax. This does not require that ```T``` and ```U``` have
default constructors...
Wolfgang Bangerth [Sat, 12 Sep 2015 01:06:47 +0000 (20:06 -0500)]
Minor cleanup.
Wolfgang Bangerth [Fri, 11 Sep 2015 23:26:13 +0000 (18:26 -0500)]
Merge pull request #1584 from tamiko/fix_tests
Fix tests base/tensor_accessors_(02|04)
Matthias Maier [Fri, 11 Sep 2015 22:35:57 +0000 (17:35 -0500)]
Fix test base/tensor_accessors_04
Matthias Maier [Fri, 11 Sep 2015 22:34:49 +0000 (17:34 -0500)]
Fix test base/tensor_accessors_02
Wolfgang Bangerth [Fri, 11 Sep 2015 21:58:52 +0000 (16:58 -0500)]
Merge pull request #1531 from tjhei/qtcreator_project
add doc/news/changes.h to project
Wolfgang Bangerth [Fri, 11 Sep 2015 20:38:56 +0000 (15:38 -0500)]
Merge pull request #1564 from tamiko/tensor_accessors
Implement TensorAccessors
Matthias Maier [Fri, 11 Sep 2015 20:09:00 +0000 (15:09 -0500)]
astyle insists on that...
Matthias Maier [Fri, 11 Sep 2015 20:07:45 +0000 (15:07 -0500)]
add a news/changes.h entry
Matthias Maier [Fri, 11 Sep 2015 19:46:29 +0000 (14:46 -0500)]
Add a test for TensorAccessors::contract3
Matthias Maier [Fri, 11 Sep 2015 19:46:07 +0000 (14:46 -0500)]
Implement TensorAccessors::contract3
Matthias Maier [Fri, 11 Sep 2015 19:45:37 +0000 (14:45 -0500)]
Add a test for TensorAccessors::contract
Matthias Maier [Fri, 11 Sep 2015 19:45:13 +0000 (14:45 -0500)]
Implement TensorAccessors::contract
Matthias Maier [Fri, 11 Sep 2015 19:44:10 +0000 (14:44 -0500)]
Add a test for TensorAccessors::extract
Matthias Maier [Fri, 11 Sep 2015 19:43:46 +0000 (14:43 -0500)]
Implement TensorAccessors::extract
Matthias Maier [Fri, 11 Sep 2015 19:42:30 +0000 (14:42 -0500)]
Add a test for TensorAccessors::reordered_index_view
Matthias Maier [Fri, 11 Sep 2015 19:41:54 +0000 (14:41 -0500)]
Implement TensorAccessors::reordered_index_view
Matthias Maier [Fri, 11 Sep 2015 19:38:56 +0000 (14:38 -0500)]
Add a new namespace TensorAccessors
This namespace will contain a collection of algorithms working on generic
tensorial objects (of arbitrary rank).
The rationale to implement such functionality in a generic fashion in a
separate namespace is
- to easy code reusability and therefore avoid code duplication.
- to have a well-defined interface that allows to exchange the low
level implementation.
Martin Kronbichler [Fri, 11 Sep 2015 15:41:40 +0000 (17:41 +0200)]
Merge pull request #1568 from bangerth/further-FEValues-cleanups-33
Further fe values cleanups 33
Wolfgang Bangerth [Fri, 11 Sep 2015 15:23:57 +0000 (10:23 -0500)]
Merge pull request #1578 from drwells/add-gdbinit
Pretty printers for GDB.
David Wells [Thu, 10 Sep 2015 18:29:12 +0000 (14:29 -0400)]
Added a small set of pretty printers for GDB.
Wolfgang Bangerth [Thu, 10 Sep 2015 23:34:02 +0000 (18:34 -0500)]
Merge pull request #1580 from tjhei/fix_solver_additional_data
fix step-51 and tests with Solver*::AdditionalData changes
Timo Heister [Thu, 10 Sep 2015 23:14:33 +0000 (19:14 -0400)]
Merge pull request #1579 from Rombur/inst_bug
Fix a bug where SolutionTransfer is not instantiated for BlockVector
Timo Heister [Thu, 10 Sep 2015 23:09:00 +0000 (19:09 -0400)]
fix step-51 and tests with Solver*::AdditionalData changes
PR #1572 disabled implicit conversion to Solver*::AdditionalData. This commit
fixes tests and step-51 that broke because of that.
Bruno Turcksin [Thu, 10 Sep 2015 22:51:28 +0000 (17:51 -0500)]
Fix a bug where SolutionTransfer is not instantiated for BlockVector when using hp::DoFHandler.
Wolfgang Bangerth [Thu, 10 Sep 2015 19:35:38 +0000 (14:35 -0500)]
Move an internal function to the only class that now still uses it.
Wolfgang Bangerth [Thu, 10 Sep 2015 02:57:24 +0000 (21:57 -0500)]
Avoid the use of an InternalData object in transform_unit_to_real_cell().
This avoids a significant overhead in the computation of the forward map for
arbitrary points.
There is potential for more optimization if we made the TensorProductPolynomials object
and the permutation map member variables of the class. But that's for a later patch.
Fixes #1569.
Wolfgang Bangerth [Tue, 8 Sep 2015 15:24:18 +0000 (10:24 -0500)]
Move transform_unit_to_real_cell from MappingQ1 to MappingQGeneric.
Wolfgang Bangerth [Tue, 8 Sep 2015 15:24:17 +0000 (10:24 -0500)]
Override the Q1 mapping in MappingQ.
Wolfgang Bangerth [Sun, 6 Sep 2015 23:26:09 +0000 (18:26 -0500)]
Relegate getting an initial guess to StaticMappingQ1.
Wolfgang Bangerth [Sun, 6 Sep 2015 23:25:47 +0000 (18:25 -0500)]
Fix a grammar error.
Wolfgang Bangerth [Sun, 6 Sep 2015 22:31:40 +0000 (17:31 -0500)]
Refer to MappingQGeneric instead to MappingQ1.
In all of the unambiguous places, refer from MappingQ to MappingQGeneric
instead of the immediate base class MappingQ.
Wolfgang Bangerth [Sun, 6 Sep 2015 21:47:15 +0000 (16:47 -0500)]
Minor cleanups.
Wolfgang Bangerth [Sun, 6 Sep 2015 21:47:01 +0000 (16:47 -0500)]
Let MappingQ have a MappingQ1 member.
This mostly breaks the derivation of MappingQ from MappingQ1. There are
a few hold-outs left, though.
Matthias Maier [Thu, 10 Sep 2015 18:35:05 +0000 (13:35 -0500)]
Merge pull request #1577 from maieneuro/mapping_derivatives_documentation
fixed spelling mistakes
Matthias Maier [Thu, 10 Sep 2015 18:33:25 +0000 (13:33 -0500)]
Merge pull request #1576 from bangerth/revamp-1573
Fix issues with #1573.
Maien Hamed [Thu, 10 Sep 2015 17:47:28 +0000 (19:47 +0200)]
fixed spelling mistakes
Wolfgang Bangerth [Thu, 10 Sep 2015 17:07:50 +0000 (12:07 -0500)]
Fix issues with #1573.
Specifically, avoid an anonymous namespace in header files. Also
remove unnecessary specializations of functions for const input
arguments.
Wolfgang Bangerth [Thu, 10 Sep 2015 16:59:52 +0000 (11:59 -0500)]
Merge pull request #1574 from maieneuro/mapping_derivatives_documentation
Added a subsection about mapping higher-order derivatives in Mapping …
Maien Hamed [Thu, 10 Sep 2015 10:16:38 +0000 (12:16 +0200)]
Added a subsection about mapping higher-order derivatives in Mapping documentation
Martin Kronbichler [Thu, 10 Sep 2015 12:15:00 +0000 (14:15 +0200)]
Merge pull request #1575 from tjhei/changelog
add to changelog
Timo Heister [Thu, 10 Sep 2015 12:03:39 +0000 (08:03 -0400)]
add to changelog
Timo Heister [Thu, 10 Sep 2015 02:57:42 +0000 (22:57 -0400)]
Merge pull request #1573 from bangerth/fix-warnings
Avoid a whole lot of warnings.
Wolfgang Bangerth [Thu, 10 Sep 2015 02:36:38 +0000 (21:36 -0500)]
Avoid a whole lot of warnings.
These warnings are about accessing elements of a zero sized
array as well as comparisons of the form 'i<dim' if 'dim==0'.
Wolfgang Bangerth [Thu, 10 Sep 2015 02:11:27 +0000 (21:11 -0500)]
Merge pull request #1572 from tjhei/explicit_additional_data_ctor
make AdditionalData ctor explicit
Timo Heister [Thu, 10 Sep 2015 01:12:19 +0000 (21:12 -0400)]
Merge pull request #1571 from QiaoLei-88/step40Solver
Constructors of SolverCG from PETSc and Trilinos have different interfaces
Timo Heister [Thu, 10 Sep 2015 01:08:45 +0000 (21:08 -0400)]
make AdditionalData ctor explicit
Constructors of AdditionalData in various linear solvers are now marked
explicit. This is to avoid implicit conversions from int. See #1571 for an
example where an MPI communiator (which is an int) is silently converted
because of the default values in AdditionalData.
Timo Heister [Wed, 9 Sep 2015 22:33:43 +0000 (18:33 -0400)]
Merge pull request #1570 from bangerth/fix-test-12
Adjust type of CosineFunction::hessian.
Wolfgang Bangerth [Wed, 9 Sep 2015 22:02:00 +0000 (17:02 -0500)]
Adjust type of CosineFunction::hessian.
Lei Qiao [Wed, 9 Sep 2015 21:49:33 +0000 (16:49 -0500)]
Constructors of wrapper SolverCG for PETSc and Trilinos have different interaces
Timo Heister [Wed, 9 Sep 2015 15:17:11 +0000 (11:17 -0400)]
add documentation files to IDE projects
IDEs like qtcreator only pull in files into the project if they are part
of a target. Create a dummy target to do this.
Matthias Maier [Wed, 9 Sep 2015 18:20:21 +0000 (13:20 -0500)]
Merge pull request #1562 from tamiko/fix_table_indices
TableIndices: Cleanup
Matthias Maier [Wed, 9 Sep 2015 18:19:21 +0000 (13:19 -0500)]
astyle
Matthias Maier [Wed, 9 Sep 2015 15:13:06 +0000 (10:13 -0500)]
Address comments
Matthias Maier [Wed, 9 Sep 2015 03:13:40 +0000 (22:13 -0500)]
Add a news/changes.h entry
Matthias Maier [Wed, 9 Sep 2015 03:08:08 +0000 (22:08 -0500)]
TableIndices: Cleanup
This is a major cleanup:
- remove all template specializations
- also remove the base class
- implement one convenience constructor that takes care of everything
Matthias Maier [Wed, 9 Sep 2015 03:02:55 +0000 (22:02 -0500)]
Add std_cxx11/iterator.h to switch between std::begin and boost::begin
Matthias Maier [Wed, 9 Sep 2015 15:44:23 +0000 (10:44 -0500)]
Merge pull request #1566 from bangerth/fix-doxygen
Expand DEAL_II_NAMESPACE_OPEN/CLOSE to nothing for doxygen.
Wolfgang Bangerth [Wed, 9 Sep 2015 11:09:20 +0000 (06:09 -0500)]
Expand DEAL_II_NAMESPACE_OPEN/CLOSE to nothing for doxygen.
It showed up in at least one place in the HTML output. Avoid this by ensuring that
it is simply expanded to nothing.
Wolfgang Bangerth [Wed, 9 Sep 2015 10:56:09 +0000 (05:56 -0500)]
Merge pull request #1565 from kronbichler/master
Improve C++14 test for clang
Martin Kronbichler [Wed, 9 Sep 2015 09:49:19 +0000 (11:49 +0200)]
Improve C++14 test for clang
Wolfgang Bangerth [Wed, 9 Sep 2015 01:04:45 +0000 (20:04 -0500)]
Merge pull request #1561 from tamiko/fix_compilation
Bugfix: Avoid C++11 only features
Matthias Maier [Tue, 8 Sep 2015 16:56:58 +0000 (11:56 -0500)]
Bugfix: Avoid C++11 only features
Matthias Maier [Wed, 9 Sep 2015 00:40:35 +0000 (19:40 -0500)]
Merge pull request #1555 from bangerth/instantiate-MappingQ1Eulerian
Instantiate MappingQ1Eulerian for the same classes as MappingQEulerian.
Wolfgang Bangerth [Tue, 8 Sep 2015 19:53:28 +0000 (14:53 -0500)]
Merge pull request #1558 from QiaoLei-88/tutorialDescription
update description of step-11
Matthias Maier [Tue, 8 Sep 2015 18:13:57 +0000 (13:13 -0500)]
Merge pull request #1560 from tjhei/fix_no_trilinos
fix compilation without trilinos
Timo Heister [Tue, 8 Sep 2015 17:55:10 +0000 (13:55 -0400)]
fix compilation without trilinos
Wolfgang Bangerth [Tue, 8 Sep 2015 17:43:10 +0000 (12:43 -0500)]
Merge pull request #1557 from tamiko/block_linop_bugfix
Bugfix: Disallow templated constructor/copy assignment for derived classes
Lei Qiao [Tue, 8 Sep 2015 16:42:44 +0000 (11:42 -0500)]
update description of step-11
Matthias Maier [Tue, 8 Sep 2015 16:04:55 +0000 (11:04 -0500)]
Bugfix: Disallow templated constructor/copy assignment for derived classes
Wolfgang Bangerth [Tue, 8 Sep 2015 15:22:19 +0000 (10:22 -0500)]
Provide a changelog entry.
Wolfgang Bangerth [Tue, 8 Sep 2015 15:17:53 +0000 (10:17 -0500)]
Instantiate MappingQ1Eulerian for the same classes as MappingQEulerian.
Wolfgang Bangerth [Tue, 8 Sep 2015 15:06:32 +0000 (10:06 -0500)]
Merge pull request #1550 from davydden/function_hessian
added Function::hessian()
Denis Davydov [Tue, 8 Sep 2015 06:50:48 +0000 (08:50 +0200)]
added Function::hessian()
fixed CosineFunction in function_lib to comply.
Martin Kronbichler [Tue, 8 Sep 2015 12:31:00 +0000 (14:31 +0200)]
Merge pull request #1552 from tjhei/trilinos_precondition_warnings
remove warnings in trilinos_precondition*cc
Timo Heister [Tue, 8 Sep 2015 12:20:13 +0000 (08:20 -0400)]
remove warnings in trilinos_precondition*cc
Wolfgang Bangerth [Tue, 8 Sep 2015 11:44:21 +0000 (06:44 -0500)]
Merge pull request #1540 from maieneuro/third_derivatives
Implemented computation of shape function 3rd derivatives in real cel…
Wolfgang Bangerth [Tue, 8 Sep 2015 11:32:52 +0000 (06:32 -0500)]
Merge pull request #1549 from tamiko/cleanup
Testsuite: Fix regressions introduced by #1517
Maien Hamed [Tue, 8 Sep 2015 10:53:09 +0000 (12:53 +0200)]
added tests for other elements
Maien Hamed [Sun, 6 Sep 2015 12:19:33 +0000 (14:19 +0200)]
Implemented computation of shape function 3rd derivatives in real cell, except in FE_PolyTensor
Martin Kronbichler [Tue, 8 Sep 2015 08:16:13 +0000 (10:16 +0200)]
Merge pull request #1551 from maieneuro/remove_compute_2nd
removed the no longer necessary FiniteElement::differences and ::fd_s…
Maien Hamed [Tue, 8 Sep 2015 07:38:16 +0000 (09:38 +0200)]
removed the no longer necessary FiniteElement::differences and ::fd_step_length
Matthias Maier [Mon, 7 Sep 2015 22:59:07 +0000 (17:59 -0500)]
Testsuite: Update serialization tests
Matthias Maier [Mon, 7 Sep 2015 22:34:47 +0000 (17:34 -0500)]
Bugfix: Provide const TensorIndicesHelper<>::extract variant
It is necessary to also deal with const references...
Matthias Maier [Mon, 7 Sep 2015 22:23:58 +0000 (17:23 -0500)]
Testsuite: Fix invalid constructor calls
Matthias Maier [Mon, 7 Sep 2015 22:16:09 +0000 (17:16 -0500)]
Testsuite: Fix invalid constructor calls
This should have never been syntactically correct code...
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.