]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
9 years agoAddress comments
Matthias Maier [Wed, 9 Sep 2015 15:13:06 +0000 (10:13 -0500)]
Address comments

9 years agoAdd a news/changes.h entry
Matthias Maier [Wed, 9 Sep 2015 03:13:40 +0000 (22:13 -0500)]
Add a news/changes.h entry

9 years agoTableIndices: Cleanup
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

9 years agoAdd std_cxx11/iterator.h to switch between std::begin and boost::begin
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

9 years agoMerge pull request #1566 from bangerth/fix-doxygen
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.

9 years agoExpand DEAL_II_NAMESPACE_OPEN/CLOSE to nothing for doxygen. 1566/head
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.

9 years agoMerge pull request #1565 from kronbichler/master
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

9 years agoImprove C++14 test for clang 1565/head
Martin Kronbichler [Wed, 9 Sep 2015 09:49:19 +0000 (11:49 +0200)]
Improve C++14 test for clang

9 years agoMerge pull request #1561 from tamiko/fix_compilation
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

9 years agoBugfix: Avoid C++11 only features 1561/head
Matthias Maier [Tue, 8 Sep 2015 16:56:58 +0000 (11:56 -0500)]
Bugfix: Avoid C++11 only features

9 years agoMerge pull request #1555 from bangerth/instantiate-MappingQ1Eulerian
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.

9 years agoMerge pull request #1558 from QiaoLei-88/tutorialDescription
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

9 years agoMerge pull request #1560 from tjhei/fix_no_trilinos
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

9 years agofix compilation without trilinos 1560/head
Timo Heister [Tue, 8 Sep 2015 17:55:10 +0000 (13:55 -0400)]
fix compilation without trilinos

9 years agoMerge pull request #1557 from tamiko/block_linop_bugfix
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

9 years agoupdate description of step-11 1558/head
Lei Qiao [Tue, 8 Sep 2015 16:42:44 +0000 (11:42 -0500)]
update description of step-11

9 years agoBugfix: Disallow templated constructor/copy assignment for derived classes 1557/head
Matthias Maier [Tue, 8 Sep 2015 16:04:55 +0000 (11:04 -0500)]
Bugfix: Disallow templated constructor/copy assignment for derived classes

9 years agoProvide a changelog entry. 1555/head
Wolfgang Bangerth [Tue, 8 Sep 2015 15:22:19 +0000 (10:22 -0500)]
Provide a changelog entry.

9 years agoInstantiate MappingQ1Eulerian for the same classes as MappingQEulerian.
Wolfgang Bangerth [Tue, 8 Sep 2015 15:17:53 +0000 (10:17 -0500)]
Instantiate MappingQ1Eulerian for the same classes as MappingQEulerian.

9 years agoMerge pull request #1550 from davydden/function_hessian
Wolfgang Bangerth [Tue, 8 Sep 2015 15:06:32 +0000 (10:06 -0500)]
Merge pull request #1550 from davydden/function_hessian

added Function::hessian()

9 years agoadded Function::hessian() 1550/head
Denis Davydov [Tue, 8 Sep 2015 06:50:48 +0000 (08:50 +0200)]
added Function::hessian()

fixed CosineFunction in function_lib to comply.

9 years agoMerge pull request #1552 from tjhei/trilinos_precondition_warnings
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

9 years agoremove warnings in trilinos_precondition*cc 1552/head
Timo Heister [Tue, 8 Sep 2015 12:20:13 +0000 (08:20 -0400)]
remove warnings in trilinos_precondition*cc

9 years agoMerge pull request #1540 from maieneuro/third_derivatives
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…

9 years agoMerge pull request #1549 from tamiko/cleanup
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

9 years agoadded tests for other elements 1540/head
Maien Hamed [Tue, 8 Sep 2015 10:53:09 +0000 (12:53 +0200)]
added tests for other elements

9 years agoImplemented computation of shape function 3rd derivatives in real cell, except in...
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

9 years agoMerge pull request #1551 from maieneuro/remove_compute_2nd
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…

9 years agoremoved the no longer necessary FiniteElement::differences and ::fd_step_length 1551/head
Maien Hamed [Tue, 8 Sep 2015 07:38:16 +0000 (09:38 +0200)]
removed the no longer necessary FiniteElement::differences and ::fd_step_length

9 years agoTestsuite: Update serialization tests 1549/head
Matthias Maier [Mon, 7 Sep 2015 22:59:07 +0000 (17:59 -0500)]
Testsuite: Update serialization tests

9 years agoBugfix: Provide const TensorIndicesHelper<>::extract variant
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...

9 years agoTestsuite: Fix invalid constructor calls
Matthias Maier [Mon, 7 Sep 2015 22:23:58 +0000 (17:23 -0500)]
Testsuite: Fix invalid constructor calls

9 years agoTestsuite: 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...

9 years agoMerge pull request #1546 from tamiko/fix_testsuite
Wolfgang Bangerth [Mon, 7 Sep 2015 21:25:26 +0000 (16:25 -0500)]
Merge pull request #1546 from tamiko/fix_testsuite

Testesuite: Bugfix: Fix configuration for with_64bit_indices

9 years agoTestesuite: Bugfix: Fix configuration for with_64bit_indices 1546/head
Matthias Maier [Mon, 7 Sep 2015 21:20:12 +0000 (16:20 -0500)]
Testesuite: Bugfix: Fix configuration for with_64bit_indices

9 years agoMerge pull request #1545 from tamiko/fix_cxx11_thread_check
Timo Heister [Mon, 7 Sep 2015 21:16:55 +0000 (17:16 -0400)]
Merge pull request #1545 from tamiko/fix_cxx11_thread_check

CMake: Bugfix: Export -pthread when trying to link

9 years agoCMake: Bugfix: Export -pthread when trying to link 1545/head
Matthias Maier [Mon, 7 Sep 2015 21:04:01 +0000 (16:04 -0500)]
CMake: Bugfix: Export -pthread when trying to link

It turns out that clang is a bit more picky and wants to have -pthread
on the command line.

9 years agoMerge pull request #1517 from tamiko/complexify
Matthias Maier [Mon, 7 Sep 2015 19:15:44 +0000 (14:15 -0500)]
Merge pull request #1517 from tamiko/complexify

Tensor<rank,dim,Number> - major cleanup

9 years agoBugfix: Use generic initializer in Tensor::norm() 1517/head
Matthias Maier [Mon, 7 Sep 2015 19:13:59 +0000 (14:13 -0500)]
Bugfix: Use generic initializer in Tensor::norm()

9 years agoDo not use Tensor<..>(bool) contstructor in headers and testsuite
Matthias Maier [Mon, 7 Sep 2015 19:03:55 +0000 (14:03 -0500)]
Do not use Tensor<..>(bool) contstructor in headers and testsuite

9 years agoCosmetic change: Attach operator to conversion type
Matthias Maier [Mon, 7 Sep 2015 18:49:05 +0000 (13:49 -0500)]
Cosmetic change: Attach operator to conversion type

9 years agoTensor, Point: Remove constructor taking a boolean argument
Matthias Maier [Mon, 7 Sep 2015 18:46:20 +0000 (13:46 -0500)]
Tensor, Point: Remove constructor taking a boolean argument

This boolean has no effect any more. Simply remove it.

9 years agoCosmetic change: Use member initializer list
Matthias Maier [Mon, 7 Sep 2015 18:38:50 +0000 (13:38 -0500)]
Cosmetic change: Use member initializer list

9 years agoBugfix: Put tensor_base.h back in place.
Matthias Maier [Mon, 7 Sep 2015 16:05:27 +0000 (11:05 -0500)]
Bugfix: Put tensor_base.h back in place.

9 years agoBugfix: Remove an unnecessary second pass for value initialization
Matthias Maier [Mon, 7 Sep 2015 16:02:34 +0000 (11:02 -0500)]
Bugfix: Remove an unnecessary second pass for value initialization

9 years agoBugfix: Avoid C++11 only syntax
Matthias Maier [Mon, 7 Sep 2015 04:42:48 +0000 (23:42 -0500)]
Bugfix: Avoid C++11 only syntax

9 years agoWorkaround for a bug in gcc-4.8 wrt to operator* and mixed std::complex types
Matthias Maier [Mon, 7 Sep 2015 04:37:27 +0000 (23:37 -0500)]
Workaround for a bug in gcc-4.8 wrt to operator* and mixed std::complex types

9 years agoBugfix: Dissallow access to an object of type Tensor<rank,0,Number>
Matthias Maier [Mon, 7 Sep 2015 02:35:26 +0000 (21:35 -0500)]
Bugfix: Dissallow access to an object of type Tensor<rank,0,Number>

Well, there is no sane way of accessing such an object. Unfortunately, the
"degeneration" operator[](void) is not part of the C++ language...

So, dissallow any access to the value but allow creation and comparison of
this object...

9 years agoRemove unnecessary specializations and a confusing comment
Matthias Maier [Mon, 7 Sep 2015 02:20:09 +0000 (21:20 -0500)]
Remove unnecessary specializations and a confusing comment

9 years agoObsolete tensor_base.h, refactor everything to tensor.h
Matthias Maier [Mon, 7 Sep 2015 02:15:41 +0000 (21:15 -0500)]
Obsolete tensor_base.h, refactor everything to tensor.h

9 years agoBugfix: Avoid temporaries
Matthias Maier [Mon, 7 Sep 2015 02:02:51 +0000 (21:02 -0500)]
Bugfix: Avoid temporaries

9 years agoBugfix: Only run this test in C++11 mode
Matthias Maier [Mon, 7 Sep 2015 01:39:32 +0000 (20:39 -0500)]
Bugfix: Only run this test in C++11 mode

9 years agoBugfix: Remove ambiguity.
Matthias Maier [Mon, 7 Sep 2015 01:28:14 +0000 (20:28 -0500)]
Bugfix: Remove ambiguity.

With the rest of Tensor<0,dim,Number>'s interface this operator= is
redundant.

9 years agoBugfix: Do not use C++11 features
Matthias Maier [Mon, 7 Sep 2015 01:05:16 +0000 (20:05 -0500)]
Bugfix: Do not use C++11 features

9 years agoBugfix: Add more typetraits to ProductType for non C++11
Matthias Maier [Mon, 7 Sep 2015 01:03:36 +0000 (20:03 -0500)]
Bugfix: Add more typetraits to ProductType for non C++11

9 years agoBugfix: Allow creation and handling of Tensor<rank, dim ==0>
Matthias Maier [Fri, 4 Sep 2015 07:24:08 +0000 (02:24 -0500)]
Bugfix: Allow creation and handling of Tensor<rank, dim ==0>

Such objects only store a zero (which doesn't make much sense to work with
them). But for certain situations in the library we need to be able to
create such objects.

9 years agoBugfix: Remove superfluous operator<< and fix ambiguity
Matthias Maier [Fri, 4 Sep 2015 05:43:46 +0000 (00:43 -0500)]
Bugfix: Remove superfluous operator<< and fix ambiguity

9 years agoBugfix: Tensor<rank,dim>: Always store a tensor type internally
Matthias Maier [Fri, 4 Sep 2015 04:01:11 +0000 (23:01 -0500)]
Bugfix: Tensor<rank,dim>: Always store a tensor type internally

9 years agoBugfixes: Update wrong descriptions, fix typos
Matthias Maier [Fri, 4 Sep 2015 04:57:08 +0000 (23:57 -0500)]
Bugfixes: Update wrong descriptions, fix typos

9 years agoBugfix: Update Point<dim,Number> documentation, fix norm, norm_square
Matthias Maier [Fri, 4 Sep 2015 04:26:41 +0000 (23:26 -0500)]
Bugfix: Update Point<dim,Number> documentation, fix norm, norm_square

Both are supposed to return a real valued scalar product. Update
documentation and implementation accordingly.

9 years agoBugfix: Avoid C++11 features
Matthias Maier [Thu, 3 Sep 2015 05:54:41 +0000 (07:54 +0200)]
Bugfix: Avoid C++11 features

Do not use template default arguments for function templates.
Also provide fully templated interface for scalar multiplication with
point, too.

9 years agoBugfix: Promote VectorizedArray<Number> to a scalar type
Matthias Maier [Thu, 3 Sep 2015 04:15:06 +0000 (23:15 -0500)]
Bugfix: Promote VectorizedArray<Number> to a scalar type

Now, every operation concerning Tensors are guarded with the EnableIfScalar
type trait. Consequently, a VectorizedArray has also to be made a scalar
type.

9 years agorun astyle
Matthias Maier [Thu, 3 Sep 2015 00:07:08 +0000 (19:07 -0500)]
run astyle

9 years agoadd a news/changes.h entry
Matthias Maier [Wed, 2 Sep 2015 23:38:21 +0000 (18:38 -0500)]
add a news/changes.h entry

9 years agoMinor Bugfixes on Point<dim>
Matthias Maier [Wed, 2 Sep 2015 22:44:17 +0000 (17:44 -0500)]
Minor Bugfixes on Point<dim>

- use numbers::NumberTraits<Number>::abs_square to compute the squared
  euclidian norm

- allow scaling with arbitrary, compatible number type

- implement some functions directly to be independent of the Tensor<>
  implementation

9 years agoRestructure declarations in tensor_base.h and tensor.h
Matthias Maier [Wed, 2 Sep 2015 22:17:06 +0000 (17:17 -0500)]
Restructure declarations in tensor_base.h and tensor.h

Move everything that isn't necessary from tensor_base.h to tensor.h

9 years agoEliminate specialization for Tensor<1,dim>
Matthias Maier [Wed, 2 Sep 2015 03:51:05 +0000 (22:51 -0500)]
Eliminate specialization for Tensor<1,dim>

This is more or less an exact code copy of Tensor<rank_,dim>.

tensor_base.h now contains the full definition of Tensor<rank_,dim>. All
external functions operating on tensors that are not strictly needed reside
in tensor.h.

9 years agoTensor<rank, dim>: Finish interface cleanup
Matthias Maier [Wed, 2 Sep 2015 03:18:22 +0000 (22:18 -0500)]
Tensor<rank, dim>: Finish interface cleanup

9 years agoTestsuite: Add a test for mixed type operations
Matthias Maier [Tue, 1 Sep 2015 00:40:51 +0000 (19:40 -0500)]
Testsuite: Add a test for mixed type operations

9 years agoTensor<1, dim>: Finish interface cleanup
Matthias Maier [Wed, 2 Sep 2015 00:43:12 +0000 (19:43 -0500)]
Tensor<1, dim>: Finish interface cleanup

9 years agoTensor<0,dim>: Use cast instead of friend declaration to access value
Matthias Maier [Tue, 1 Sep 2015 23:37:21 +0000 (18:37 -0500)]
Tensor<0,dim>: Use cast instead of friend declaration to access value

9 years agoTensor<0,dim>: Also provide operators for scalar multiplication
Matthias Maier [Tue, 1 Sep 2015 23:29:00 +0000 (18:29 -0500)]
Tensor<0,dim>: Also provide operators for scalar multiplication

9 years agoTensor<k,dim>: Remove superfluous operator* variants
Matthias Maier [Tue, 1 Sep 2015 22:43:56 +0000 (17:43 -0500)]
Tensor<k,dim>: Remove superfluous operator* variants

It is completely sufficient to provide 1 ("one") templated variant.

I guess, over time more and more variants were added. This increased the
grade of ambiguity for the compiler to chose the one intended
implementation.

9 years agoTensor<0,dim,Number>: Implement mixed (tensor) operations
Matthias Maier [Mon, 31 Aug 2015 23:21:45 +0000 (18:21 -0500)]
Tensor<0,dim,Number>: Implement mixed (tensor) operations

This allows arbitrary arithmetic operations of mixed value_type operands
such as real and complex valued tensors.

9 years agoBugfix: Fix type ambiguity for two calls to std::min
Matthias Maier [Tue, 1 Sep 2015 00:23:06 +0000 (19:23 -0500)]
Bugfix: Fix type ambiguity for two calls to std::min

9 years agoMerge pull request #1515 from tcclevenger/write_svg
Wolfgang Bangerth [Mon, 7 Sep 2015 17:56:45 +0000 (12:56 -0500)]
Merge pull request #1515 from tcclevenger/write_svg

Add SparsityPattern::write_svg

9 years agoMerge pull request #1544 from maieneuro/remove_compute_2nd
Martin Kronbichler [Mon, 7 Sep 2015 16:30:37 +0000 (18:30 +0200)]
Merge pull request #1544 from maieneuro/remove_compute_2nd

removed compute_2nd as hessians are analytically computed

9 years agoremoved compute_2nd as hessians are analytically computed 1544/head
Maien Hamed [Mon, 7 Sep 2015 16:03:48 +0000 (18:03 +0200)]
removed compute_2nd as hessians are analytically computed

9 years agoAdd SparsityPattern::print_svg 1515/head
tcclevenger [Wed, 2 Sep 2015 20:38:03 +0000 (16:38 -0400)]
Add SparsityPattern::print_svg

9 years agoMerge pull request #1541 from tjhei/enable_muelu_tests
Martin Kronbichler [Mon, 7 Sep 2015 14:39:21 +0000 (16:39 +0200)]
Merge pull request #1541 from tjhei/enable_muelu_tests

enable muelu tests with newer Trilinos

9 years agoenable muelu tests with newer Trilinos 1541/head
Timo Heister [Mon, 7 Sep 2015 14:38:16 +0000 (10:38 -0400)]
enable muelu tests with newer Trilinos

9 years agoMerge pull request #1516 from tjhei/new_inst_file_splitting
Timo Heister [Mon, 7 Sep 2015 14:08:26 +0000 (10:08 -0400)]
Merge pull request #1516 from tjhei/new_inst_file_splitting

rework fe_values.cc inst splitting

9 years agoaddress comments 1516/head
Timo Heister [Mon, 7 Sep 2015 13:23:08 +0000 (09:23 -0400)]
address comments

- rename files

9 years agoMerge pull request #1534 from drwells/refactor-q1-mapping-with-exceptions
Timo Heister [Mon, 7 Sep 2015 12:58:35 +0000 (08:58 -0400)]
Merge pull request #1534 from drwells/refactor-q1-mapping-with-exceptions

Use exceptions to mark Q1 transform failures.

9 years agoMerge pull request #1536 from tamiko/fix_cxx11_thread_detection
Timo Heister [Mon, 7 Sep 2015 01:41:06 +0000 (21:41 -0400)]
Merge pull request #1536 from tamiko/fix_cxx11_thread_detection

CMake: Avoid running CXX11 Thread support test

9 years agoMerge pull request #1539 from tamiko/gold
Wolfgang Bangerth [Sun, 6 Sep 2015 22:42:13 +0000 (17:42 -0500)]
Merge pull request #1539 from tamiko/gold

Use gold instead of the traditional linker if possible.

9 years agoUse exceptions to mark Q1 transform failures. 1534/head
David Wells [Tue, 1 Sep 2015 21:51:37 +0000 (17:51 -0400)]
Use exceptions to mark Q1 transform failures.

The previous implementation returned magical numbers in some instances.

9 years agoCMake: Refactor check for -fuse-ld=gold into check_01_compiler_features.cmake 1539/head
Matthias Maier [Sun, 6 Sep 2015 21:46:50 +0000 (16:46 -0500)]
CMake: Refactor check for -fuse-ld=gold into check_01_compiler_features.cmake

9 years agoUse gold instead of the traditional linker if possible. 1492/head
Wolfgang Bangerth [Mon, 31 Aug 2015 16:42:20 +0000 (11:42 -0500)]
Use gold instead of the traditional linker if possible.

9 years agoMerge pull request #1522 from bangerth/further-FEValues-cleanups-32
Wolfgang Bangerth [Sun, 6 Sep 2015 19:47:45 +0000 (14:47 -0500)]
Merge pull request #1522 from bangerth/further-FEValues-cleanups-32

Make MappingQ1::InternalData more generic

9 years agoReapply a patch that would otherwise have been lost in a rebase. 1522/head
Wolfgang Bangerth [Sun, 6 Sep 2015 18:46:39 +0000 (13:46 -0500)]
Reapply a patch that would otherwise have been lost in a rebase.

9 years agoStore the correct polynomial degree in MappingQGeneric.
Wolfgang Bangerth [Sat, 5 Sep 2015 13:07:33 +0000 (08:07 -0500)]
Store the correct polynomial degree in MappingQGeneric.

Currently, MappingQ derives from MappingQ1 which passes 1 down as polynomial degree.
This worked 'by accident' because the polynomial degree is only used by MappingQGeneric
in get_data() and friends, which are overloaded by MappingQ. However, the correct
place to store the polynomial degree is clearly in MappingQGeneric.

9 years agoRemove MappingQ copy constructor.
Wolfgang Bangerth [Sat, 5 Sep 2015 00:05:32 +0000 (19:05 -0500)]
Remove MappingQ copy constructor.

It is apparently not needed.

9 years agoSimplify code.
Wolfgang Bangerth [Fri, 4 Sep 2015 23:13:00 +0000 (18:13 -0500)]
Simplify code.

9 years agoSome more preparatory work for separating MappingQ/Q1.
Wolfgang Bangerth [Fri, 4 Sep 2015 16:18:13 +0000 (11:18 -0500)]
Some more preparatory work for separating MappingQ/Q1.

Some documentation updates.

Also make the Q1::InternalData object in MappingQ a pointer since that
will fit better into the structure we will need later on.

9 years agoRefactor MappingQ/Q1 into a common base class.
Wolfgang Bangerth [Fri, 4 Sep 2015 01:57:34 +0000 (20:57 -0500)]
Refactor MappingQ/Q1 into a common base class.

This patch separates out the common functionality for generic polynomial
mappings into a base class. It contains most of what used to be in MappingQ1
but really was not specific to p=1 mappings.

9 years agoMake MappingQ::InternalData protected.
Wolfgang Bangerth [Thu, 3 Sep 2015 15:59:45 +0000 (10:59 -0500)]
Make MappingQ::InternalData protected.

9 years agoRemove a whole bunch of code.
Wolfgang Bangerth [Thu, 3 Sep 2015 15:46:52 +0000 (10:46 -0500)]
Remove a whole bunch of code.

None of this is needed any more now that the InternalData
class has been largely separated.

9 years agoMove the computation of the Mapping values into initialize().
Wolfgang Bangerth [Thu, 3 Sep 2015 15:00:04 +0000 (10:00 -0500)]
Move the computation of the Mapping values into initialize().

Rather than having to do it yourself right after initialize(), let initialize()
call the function that does that. This greatly simplifies a good deal of code,
and also leads to better parallelization.

9 years agoMove the code that initializes the Mapping{Q,Q1}::InternalData into that structure.
Wolfgang Bangerth [Thu, 3 Sep 2015 13:15:26 +0000 (08:15 -0500)]
Move the code that initializes the Mapping{Q,Q1}::InternalData into that structure.

This allows us to get rid of the two implementations of compute_shapes(). It also
significantly simplifies the logic which of the two functions actually need to
be called, since the InternalData object actually knows that itself.


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.