]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
9 years agoMove more functions into the .cc file only.
Wolfgang Bangerth [Tue, 15 Sep 2015 11:29:59 +0000 (06:29 -0500)]
Move more functions into the .cc file only.

9 years agoMove some code into the .cc file.
Wolfgang Bangerth [Mon, 14 Sep 2015 02:15:14 +0000 (21:15 -0500)]
Move some code into the .cc file.

This was an internal function -- no need to have it be part of the class declaration.

9 years agoRemove some code that appears to now be dead.
Wolfgang Bangerth [Mon, 14 Sep 2015 02:14:19 +0000 (21:14 -0500)]
Remove some code that appears to now be dead.

9 years agoRemove member variables now no longer necessary.
Wolfgang Bangerth [Sun, 13 Sep 2015 18:57:30 +0000 (13:57 -0500)]
Remove member variables now no longer necessary.

9 years agoMove compute_mapping_support_points() and friends to MappingQGeneric.
Wolfgang Bangerth [Sun, 13 Sep 2015 18:49:23 +0000 (13:49 -0500)]
Move compute_mapping_support_points() and friends to MappingQGeneric.

9 years agoMerge pull request #1621 from pesser/gnu-compiler-warning
Matthias Maier [Thu, 17 Sep 2015 18:08:26 +0000 (13:08 -0500)]
Merge pull request #1621 from pesser/gnu-compiler-warning

add -Woverloaded-virtual flag for gnu compiler

9 years agoMerge pull request #1626 from tcclevenger/add_svg_step2
Wolfgang Bangerth [Thu, 17 Sep 2015 15:28:52 +0000 (10:28 -0500)]
Merge pull request #1626 from tcclevenger/add_svg_step2

Use print_svg in step 2

9 years agoUse print_svg in step 2 1626/head
tcclevenger [Wed, 16 Sep 2015 19:51:09 +0000 (15:51 -0400)]
Use print_svg in step 2

9 years agoMerge pull request #1623 from nicolacavallini/codim_one_hyper_ball
Wolfgang Bangerth [Thu, 17 Sep 2015 12:02:16 +0000 (07:02 -0500)]
Merge pull request #1623 from nicolacavallini/codim_one_hyper_ball

added codim one hyper ball

9 years agoadded codim one hyper ball 1623/head
nicolacavallini [Wed, 16 Sep 2015 15:20:42 +0000 (17:20 +0200)]
added codim one hyper ball

added test

fixed indentation

typo

renamed to hyper sphere

added imagies to documentation

indentation

typos

9 years agoMerge pull request #1625 from drwells/remove-unused-update-flags
Wolfgang Bangerth [Thu, 17 Sep 2015 11:52:06 +0000 (06:52 -0500)]
Merge pull request #1625 from drwells/remove-unused-update-flags

Remove unimplemented UpdateFlags flags.

9 years agoMerge pull request #1629 from danshapero/indentation
Wolfgang Bangerth [Thu, 17 Sep 2015 11:34:36 +0000 (06:34 -0500)]
Merge pull request #1629 from danshapero/indentation

Indentation fix in gradient_interpolate

9 years agoMerge pull request #1630 from nicolacavallini/fix_indent
Wolfgang Bangerth [Thu, 17 Sep 2015 11:30:47 +0000 (06:30 -0500)]
Merge pull request #1630 from nicolacavallini/fix_indent

fixed indentation

9 years agofixed indentation 1630/head
nicolacavallini [Thu, 17 Sep 2015 11:09:00 +0000 (13:09 +0200)]
fixed indentation

9 years agoIndentation fix in gradient_interpolate 1629/head
danshapero [Thu, 17 Sep 2015 06:29:52 +0000 (23:29 -0700)]
Indentation fix in gradient_interpolate

9 years agoMerge branch 'griddata-gradient'
Matthias Maier [Wed, 16 Sep 2015 22:15:31 +0000 (17:15 -0500)]
Merge branch 'griddata-gradient'

Rebase and reapply #1348 to the master branch

9 years agogradient of InterpolatedTensorProductGridData
danshapero [Sun, 2 Aug 2015 23:10:33 +0000 (16:10 -0700)]
gradient of InterpolatedTensorProductGridData

9 years agoMerge pull request #1624 from tamiko/tensor.h_cleanup_5
Wolfgang Bangerth [Wed, 16 Sep 2015 20:56:47 +0000 (15:56 -0500)]
Merge pull request #1624 from tamiko/tensor.h_cleanup_5

Tensor<rank, dim, Number>: Generalize contract3 for arbitrary tensor ranks

9 years agoastyle 1624/head
Matthias Maier [Wed, 16 Sep 2015 20:13:31 +0000 (15:13 -0500)]
astyle

9 years agoRemove unimplemented UpdateFlags flags. 1625/head
David Wells [Wed, 16 Sep 2015 19:39:29 +0000 (15:39 -0400)]
Remove unimplemented UpdateFlags flags.

These two flags showed up in commit cfb5ac8b76df in October 2007 but
were never actually implemented.

9 years agoGeneralize contract3 for arbitrary tensor ranks
Matthias Maier [Wed, 16 Sep 2015 04:36:32 +0000 (23:36 -0500)]
Generalize contract3 for arbitrary tensor ranks

9 years agoMerge pull request #1622 from drwells/remove-update-support-points
Wolfgang Bangerth [Wed, 16 Sep 2015 17:45:33 +0000 (12:45 -0500)]
Merge pull request #1622 from drwells/remove-update-support-points

Remove the deprecated update_support_points flag.

9 years agoRemove the deprecated update_support_points flag. 1622/head
David Wells [Wed, 16 Sep 2015 14:15:44 +0000 (10:15 -0400)]
Remove the deprecated update_support_points flag.

This flag was deprecated in 2013 and has not done anything for a long
time. This flag has a rather interesting past:

* Its predecessor, a boolean 'update_ansatz_points' (which predates
  UpdateFlags) appeared in commit f11068359c42 in April 1998. This
  commit only implemented the option and not any actual functionality.
* Its first actual appearance was in commit e183dbbef3c1 in September
  1998 as a rename of 'update_ansatz_points'.
* The implementation of this flag in FEValues was removed in commit
  737af606cf92 in March 2001.
* The flag was removed for the first time in commit 0e03535fbf03 in
  September 2001.
* The flag reappeared (with no corresponding functionality) in commit
  cfb5ac8b76df in October 2007.
* The flag was marked as deprecated in commit d2b4ca622a844 in February
  2013.

9 years agoMerge pull request #1614 from pesser/rt-virtual-function-overloads
Wolfgang Bangerth [Wed, 16 Sep 2015 10:55:06 +0000 (05:55 -0500)]
Merge pull request #1614 from pesser/rt-virtual-function-overloads

FE_RannacherTurek virtual function overloads

9 years agoMerge pull request #1620 from tamiko/minor_restructuring
Wolfgang Bangerth [Wed, 16 Sep 2015 10:48:12 +0000 (05:48 -0500)]
Merge pull request #1620 from tamiko/minor_restructuring

Fix doxygen markup in tensor_depreacted.h and tensor_accessors.h

9 years agoadd interpolate signatures to FE_RannacherTurek 1614/head
Patrick Esser [Tue, 15 Sep 2015 15:49:45 +0000 (17:49 +0200)]
add interpolate signatures to FE_RannacherTurek

Implemented signatures of interpolate functions which allow
interpolation from set of vector values.

9 years agoWording and typos 1620/head
Matthias Maier [Wed, 16 Sep 2015 02:28:57 +0000 (21:28 -0500)]
Wording and typos

9 years agoDocumentation: Fix doxygen markup in tensor_deprecated.h
Matthias Maier [Wed, 16 Sep 2015 02:23:32 +0000 (21:23 -0500)]
Documentation: Fix doxygen markup in tensor_deprecated.h

9 years agoBugfix: Remove bogus @relates statement
Matthias Maier [Wed, 16 Sep 2015 02:18:52 +0000 (21:18 -0500)]
Bugfix: Remove bogus @relates statement

There must be only one relates statement :-]

9 years agoDocumentation: Fix doxygen markup in tensor_deprecated.h
Matthias Maier [Wed, 16 Sep 2015 00:49:07 +0000 (19:49 -0500)]
Documentation: Fix doxygen markup in tensor_deprecated.h

9 years agoMerge pull request #1619 from tamiko/remove_doxygen_guards
Wolfgang Bangerth [Wed, 16 Sep 2015 01:11:21 +0000 (20:11 -0500)]
Merge pull request #1619 from tamiko/remove_doxygen_guards

Remove doxygen guards

9 years agoRemove doxygen guards 1619/head
Matthias Maier [Tue, 15 Sep 2015 23:02:22 +0000 (18:02 -0500)]
Remove doxygen guards

9 years agoMerge pull request #1618 from tamiko/tensor.h_cleanup_4
Matthias Maier [Tue, 15 Sep 2015 22:30:43 +0000 (17:30 -0500)]
Merge pull request #1618 from tamiko/tensor.h_cleanup_4

Tensor<rank,dim,Number> - deprecate "contract" function

9 years agoUpdate news/changes.h 1618/head
Matthias Maier [Tue, 15 Sep 2015 20:40:51 +0000 (15:40 -0500)]
Update news/changes.h

9 years agoDo not use "contract" in the tests.
Matthias Maier [Tue, 15 Sep 2015 20:33:16 +0000 (15:33 -0500)]
Do not use "contract" in the tests.

9 years agoDo not use "contract" in the library.
Matthias Maier [Tue, 15 Sep 2015 06:28:06 +0000 (01:28 -0500)]
Do not use "contract" in the library.

9 years agotensor.h: Deprecate "contract" function
Matthias Maier [Tue, 15 Sep 2015 06:18:28 +0000 (01:18 -0500)]
tensor.h: Deprecate "contract" function

9 years agoMerge pull request #1617 from tamiko/fix_test
Wolfgang Bangerth [Tue, 15 Sep 2015 21:04:26 +0000 (16:04 -0500)]
Merge pull request #1617 from tamiko/fix_test

Testsuite: codim_one/bem: Remove unused code, do not use contract

9 years agoTestsuite: Clean up codim_one/bem; remove unused code fragments 1617/head
Matthias Maier [Tue, 15 Sep 2015 20:33:58 +0000 (15:33 -0500)]
Testsuite: Clean up codim_one/bem; remove unused code fragments

9 years agoMerge pull request #1607 from tamiko/tensor.h_cleanup_1
Wolfgang Bangerth [Tue, 15 Sep 2015 20:10:56 +0000 (15:10 -0500)]
Merge pull request #1607 from tamiko/tensor.h_cleanup_1

Tensor<2,dim,Number> - clean up determinant and transpose functions

9 years agoMerge pull request #1613 from l-korous/msvc-4
Matthias Maier [Tue, 15 Sep 2015 20:00:21 +0000 (15:00 -0500)]
Merge pull request #1613 from l-korous/msvc-4

Fix for MSVC: template argument was a preprocessor macro defined in m…

9 years agoMerge pull request #1612 from l-korous/msvc-3
Matthias Maier [Tue, 15 Sep 2015 19:59:49 +0000 (14:59 -0500)]
Merge pull request #1612 from l-korous/msvc-3

MSVC fix -> add 'dealii::' root namespace explicitely where MSVC fail…

9 years agoAdd a news/changes.h entry, move a misplaced news/changes.h entry 1607/head
Matthias Maier [Tue, 15 Sep 2015 03:53:18 +0000 (22:53 -0500)]
Add a news/changes.h entry, move a misplaced news/changes.h entry

9 years agotensor.h: Bugfix: make determinant compatible with arbitrary number types
Matthias Maier [Tue, 15 Sep 2015 03:26:24 +0000 (22:26 -0500)]
tensor.h: Bugfix: make determinant compatible with arbitrary number types

9 years agotensor.h: Remove specializations of determinant
Matthias Maier [Tue, 15 Sep 2015 03:05:54 +0000 (22:05 -0500)]
tensor.h: Remove specializations of determinant

9 years agotensor.h: Remove specializations for transpose
Matthias Maier [Tue, 15 Sep 2015 03:03:43 +0000 (22:03 -0500)]
tensor.h: Remove specializations for transpose

With modern compilers the generic implementation is efficient enough - it
will be optimized to those specializations...

9 years agotensor.h: Deprecate rank 1 variants of determinant
Matthias Maier [Tue, 15 Sep 2015 03:02:50 +0000 (22:02 -0500)]
tensor.h: Deprecate rank 1 variants of determinant

We do not implemenent a hyper determinant, or any other generalization of a
determinant. Thus, deprecate this special case.

9 years agoMerge pull request #1616 from tamiko/fix_compilation
Matthias Maier [Tue, 15 Sep 2015 18:27:29 +0000 (13:27 -0500)]
Merge pull request #1616 from tamiko/fix_compilation

Fix compilation

9 years agoFix compilation 1616/head
Matthias Maier [Tue, 15 Sep 2015 18:26:39 +0000 (13:26 -0500)]
Fix compilation

9 years agoMerge pull request #1615 from tamiko/update_changelog
Wolfgang Bangerth [Tue, 15 Sep 2015 17:41:05 +0000 (12:41 -0500)]
Merge pull request #1615 from tamiko/update_changelog

Update changes.h, move entry

9 years agoUpdate changes.h, move entry 1615/head
Matthias Maier [Tue, 15 Sep 2015 17:16:37 +0000 (12:16 -0500)]
Update changes.h, move entry

9 years agoMerge pull request #1609 from tamiko/tensor.h_cleanup_3
Matthias Maier [Tue, 15 Sep 2015 17:13:35 +0000 (12:13 -0500)]
Merge pull request #1609 from tamiko/tensor.h_cleanup_3

Tensor<rank,dim,Number -  let outer_product return its result

9 years agoUpdate tests to use new signature of outer_product 1609/head
Matthias Maier [Tue, 15 Sep 2015 05:36:34 +0000 (00:36 -0500)]
Update tests to use new signature of outer_product

9 years agoUpdate library to use new signature of outer_product
Matthias Maier [Tue, 15 Sep 2015 05:11:22 +0000 (00:11 -0500)]
Update library to use new signature of outer_product

9 years agotensor.h: Let outer_product return its result
Matthias Maier [Tue, 15 Sep 2015 04:46:28 +0000 (23:46 -0500)]
tensor.h: Let outer_product return its result

All other function signatures also return their result - do the same here
and deprecate the old signatures

9 years agoMerge pull request #1608 from tamiko/tensor.h_cleanup_2
Matthias Maier [Tue, 15 Sep 2015 17:05:48 +0000 (12:05 -0500)]
Merge pull request #1608 from tamiko/tensor.h_cleanup_2

Tensor<1,dim,Number> - let the cross_product functions return its result

9 years agoadd a news/changes.h entry 1608/head
Matthias Maier [Tue, 15 Sep 2015 04:30:01 +0000 (23:30 -0500)]
add a news/changes.h entry

9 years agoUpdate tests to use new cross_product signature
Matthias Maier [Tue, 15 Sep 2015 04:22:32 +0000 (23:22 -0500)]
Update tests to use new cross_product signature

9 years agoUpdate library to use new cross_product signature
Matthias Maier [Tue, 15 Sep 2015 03:37:00 +0000 (22:37 -0500)]
Update library to use new cross_product signature

9 years agotensor.h: Let the cross_product functions return its result
Matthias Maier [Tue, 15 Sep 2015 03:14:57 +0000 (22:14 -0500)]
tensor.h: Let the cross_product functions return its result

All other function signatures also return their result - do the same here
and deprecate the old signatures.

9 years agoMerge pull request #1611 from l-korous/msvc-2
Matthias Maier [Tue, 15 Sep 2015 16:48:24 +0000 (11:48 -0500)]
Merge pull request #1611 from l-korous/msvc-2

Fix for MSVC: Tensor<1, dim, Number>::real_type -> numbers::NumberTra…

9 years agoFix for MSVC: template argument was a preprocessor macro defined in minwindef.h 1613/head
Lukas Korous [Tue, 15 Sep 2015 16:00:30 +0000 (18:00 +0200)]
Fix for MSVC: template argument was a preprocessor macro defined in minwindef.h

9 years agoMSVC fix -> add 'dealii::' root namespace explicitely where MSVC fails to understand... 1612/head
Lukas Korous [Tue, 15 Sep 2015 15:29:37 +0000 (17:29 +0200)]
MSVC fix -> add 'dealii::' root namespace explicitely where MSVC fails to understand ' internal::' without 'dealii::'

9 years agoFix for MSVC: Tensor<1, dim, Number>::real_type -> numbers::NumberTraits<Number>... 1611/head
Lukas Korous [Tue, 15 Sep 2015 15:28:25 +0000 (17:28 +0200)]
Fix for MSVC: Tensor<1, dim, Number>::real_type -> numbers::NumberTraits<Number>::real_type
    - if left as is, MSVC 2013 Pro issues (although it should not) an error 'incompatible declaration <-> definition'.

9 years agoadd -Woverloaded-virtual flag for gnu compiler 1621/head
Patrick Esser [Tue, 15 Sep 2015 14:06:38 +0000 (16:06 +0200)]
add -Woverloaded-virtual flag for gnu compiler

Add warning about overloaded virtual functions which are shadowed
when only a subset of its signatures are overridden in a derived class.

9 years agoMerge pull request #1606 from tjhei/fix_step_33
Timo Heister [Mon, 14 Sep 2015 21:31:30 +0000 (17:31 -0400)]
Merge pull request #1606 from tjhei/fix_step_33

fix compilation of step-33

9 years agofix compilation of step-33 1606/head
Timo Heister [Mon, 14 Sep 2015 19:53:16 +0000 (15:53 -0400)]
fix compilation of step-33

This is related to the Solver*::AdditionalData constructor change now
requiring explicitly instantiating the object.

9 years agoMerge pull request #1604 from drwells/fix-double-that-step-16
Wolfgang Bangerth [Mon, 14 Sep 2015 18:33:31 +0000 (13:33 -0500)]
Merge pull request #1604 from drwells/fix-double-that-step-16

Fix some typos in step-16.

9 years agoFix some typos in step-16. 1604/head
David Wells [Mon, 14 Sep 2015 18:05:40 +0000 (14:05 -0400)]
Fix some typos in step-16.

Thanks to @kostyfisik for pointing out the 'that that' typo, which
prompted me to fix some other small ones.

9 years agoMerge pull request #1602 from tamiko/make_gcc46_happy
Bruno Turcksin [Mon, 14 Sep 2015 15:48:01 +0000 (10:48 -0500)]
Merge pull request #1602 from tamiko/make_gcc46_happy

gcc-4.6 support: Avoid unsupported initializer-list usage

9 years agogcc-4.6: Avoid unsupported initializer list usage 1602/head
Matthias Maier [Mon, 14 Sep 2015 15:38:56 +0000 (10:38 -0500)]
gcc-4.6: Avoid unsupported initializer list usage

9 years agoMerge pull request #1601 from drwells/fix-gdb-doc-inconsistencies
Wolfgang Bangerth [Mon, 14 Sep 2015 14:22:03 +0000 (09:22 -0500)]
Merge pull request #1601 from drwells/fix-gdb-doc-inconsistencies

Fix inconsistencies in our GDB documentation.

9 years agoFix inconsistencies in our GDB documentation. 1601/head
David Wells [Mon, 14 Sep 2015 14:04:04 +0000 (10:04 -0400)]
Fix inconsistencies in our GDB documentation.

1. The GDB documentation consistently uses "pretty-print", not "pretty
print". The previous version of this file used both.
2. The folder ".gdbscripts" was not consistently named (it was
erroneously referred to as ".gdbfiles" in one place).

9 years agoMerge pull request #1600 from tamiko/fix_cxx11_mode
Wolfgang Bangerth [Mon, 14 Sep 2015 13:16:00 +0000 (08:16 -0500)]
Merge pull request #1600 from tamiko/fix_cxx11_mode

Bugfix: Support complex_overloads.h also in C++11 mode

9 years agoBugfix: Support complex_overloads.h also in C++11 mode 1600/head
Matthias Maier [Mon, 14 Sep 2015 07:34:03 +0000 (02:34 -0500)]
Bugfix: Support complex_overloads.h also in C++11 mode

[Wow. This is the first time that I broke something in C++11 mode - I
didn't realize that I was still in C++98 mode when testing...]

Manually specify all products that shall be available in ProductType -
otherwise our overloads cannot be used.

9 years agoMerge pull request #1598 from bangerth/doxygen-updates-2
Matthias Maier [Mon, 14 Sep 2015 02:55:25 +0000 (21:55 -0500)]
Merge pull request #1598 from bangerth/doxygen-updates-2

Untabify file.

9 years agoUntabify. 1598/head
Wolfgang Bangerth [Mon, 14 Sep 2015 02:49:31 +0000 (21:49 -0500)]
Untabify.

9 years agoMerge pull request #1595 from bangerth/add-tutorial-to-doxygen-pages
Matthias Maier [Mon, 14 Sep 2015 02:41:36 +0000 (21:41 -0500)]
Merge pull request #1595 from bangerth/add-tutorial-to-doxygen-pages

Add the tutorial to the doxygen pages.

9 years agoMerge pull request #1596 from bangerth/doxygen-updates
Matthias Maier [Mon, 14 Sep 2015 02:41:13 +0000 (21:41 -0500)]
Merge pull request #1596 from bangerth/doxygen-updates

Remove a duplicate entry from options.dox.in.

9 years agoMerge pull request #1593 from bangerth/fix-warnings-4
Wolfgang Bangerth [Mon, 14 Sep 2015 02:21:17 +0000 (21:21 -0500)]
Merge pull request #1593 from bangerth/fix-warnings-4

Fix warning about unused function argument.

9 years agoFix a comment, as requested by @tamiko. 1593/head
Wolfgang Bangerth [Mon, 14 Sep 2015 02:19:25 +0000 (21:19 -0500)]
Fix a comment, as requested by @tamiko.

9 years agoAdd a changelog. 1595/head
Wolfgang Bangerth [Mon, 14 Sep 2015 01:57:22 +0000 (20:57 -0500)]
Add a changelog.

9 years agoRemove a duplicate entry. 1596/head
Wolfgang Bangerth [Mon, 14 Sep 2015 01:44:19 +0000 (20:44 -0500)]
Remove a duplicate entry.

9 years agoAlso link to dealii.org.
Wolfgang Bangerth [Mon, 14 Sep 2015 01:30:05 +0000 (20:30 -0500)]
Also link to dealii.org.

9 years agoMerge pull request #1582 from drwells/update-add-gdb-documentation
Wolfgang Bangerth [Mon, 14 Sep 2015 01:16:40 +0000 (20:16 -0500)]
Merge pull request #1582 from drwells/update-add-gdb-documentation

Added documentation describing our GDB support.

9 years agoAdded documentation describing our GDB support. 1582/head
David Wells [Fri, 11 Sep 2015 18:28:50 +0000 (14:28 -0400)]
Added documentation describing our GDB support.

9 years agoAdd the tutorial to the doxygen pages.
Wolfgang Bangerth [Sun, 13 Sep 2015 23:39:53 +0000 (18:39 -0500)]
Add the tutorial to the doxygen pages.

Also reorder items a bit so that the 'related pages' come after modules,
namespaces, and classes.

9 years agoFix warning about unused function argument.
Wolfgang Bangerth [Sun, 13 Sep 2015 21:13:01 +0000 (16:13 -0500)]
Fix warning about unused function argument.

9 years agoMerge pull request #1586 from tamiko/bugfix
Wolfgang Bangerth [Sun, 13 Sep 2015 21:08:01 +0000 (16:08 -0500)]
Merge pull request #1586 from tamiko/bugfix

Bugfix: Provide overloads for mixed floating point type operations

9 years agoMerge pull request #1589 from tamiko/bugfix3
Wolfgang Bangerth [Sun, 13 Sep 2015 01:40:04 +0000 (20:40 -0500)]
Merge pull request #1589 from tamiko/bugfix3

Bugfix: Convert a missing variant

9 years agoProvide operator* overloads for mixed floating point type multiplication 1586/head
Matthias Maier [Sun, 13 Sep 2015 00:50:58 +0000 (19:50 -0500)]
Provide operator* overloads for mixed floating point type multiplication

9 years agoOverloads for mixed complex floating point type multiplication
Matthias Maier [Sun, 13 Sep 2015 00:29:55 +0000 (19:29 -0500)]
Overloads for mixed complex floating point type multiplication

Those variants are defined in a separate namespace and can be included on
an if needed basis.

9 years agoTestsuite: Test for mixed floating point type multiplication of complex values
Matthias Maier [Sat, 12 Sep 2015 06:30:34 +0000 (01:30 -0500)]
Testsuite: Test for mixed floating point type multiplication of complex values

9 years agoBugfix: Remove wrong bugfix
Matthias Maier [Sat, 12 Sep 2015 05:46:19 +0000 (00:46 -0500)]
Bugfix: Remove wrong bugfix

This is just a mistake. We should tackle the fundamental problem, namely
that we do not have templated operator* for mixed std::complex types
available.

Explicitly casting to product_type at every occurence of a possible product
of another scalar with a complex number type is not just tedious, it is
also strictly speaking not correct:

The type trait ProductType<Left, Right>::type defines the type that results
from calling operator* on those types - but neither Left, nor Right, have
to be convertible to a ProductType... (The contraction of tensors as we do
with operator* is an example)

9 years agoBugfix: Convert a missing variant 1589/head
Matthias Maier [Sun, 13 Sep 2015 00:08:47 +0000 (19:08 -0500)]
Bugfix: Convert a missing variant

9 years agoMerge pull request #1585 from tamiko/tensor_cleanup_part1
Matthias Maier [Sun, 13 Sep 2015 00:03:00 +0000 (19:03 -0500)]
Merge pull request #1585 from tamiko/tensor_cleanup_part1

Tensor<rank,dim,Number> - Implement operator* with TensorAccessors::contract

9 years agoThis is why I hate astyle so much. 1585/head
Matthias Maier [Sat, 12 Sep 2015 23:51:02 +0000 (18:51 -0500)]
This is why I hate astyle so much.

9 years agoBugfix: Allow compilation in C++98 mode
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.

9 years agoImprove documentation, add missing @relates
Matthias Maier [Sat, 12 Sep 2015 21:27:43 +0000 (16:27 -0500)]
Improve documentation, add missing @relates

9 years agoTestsuite: Improve base/tensor_accessors_01
Matthias Maier [Sat, 12 Sep 2015 05:24:21 +0000 (00:24 -0500)]
Testsuite: Improve base/tensor_accessors_01


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.