]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
7 years agomore descriptive commands on how to setup tests for an already installed library 3905/head
Denis Davydov [Thu, 2 Feb 2017 18:14:24 +0000 (19:14 +0100)]
more descriptive commands on how to setup tests for an already installed library

7 years agoMerge pull request #3879 from davydden/empty_payload_fix
Denis Davydov [Tue, 31 Jan 2017 17:19:31 +0000 (18:19 +0100)]
Merge pull request #3879 from davydden/empty_payload_fix

fix duplicate symbols for EmptyPayload

7 years agoMerge pull request #3880 from kalj/remove-unsed-arg-warning
Daniel Arndt [Tue, 31 Jan 2017 16:27:20 +0000 (17:27 +0100)]
Merge pull request #3880 from kalj/remove-unsed-arg-warning

remove warnings about unused arguments

7 years agoMerge pull request #3881 from bangerth/adjust-copyright-years
Denis Davydov [Tue, 31 Jan 2017 14:36:20 +0000 (15:36 +0100)]
Merge pull request #3881 from bangerth/adjust-copyright-years

Adjust copyright years.

7 years agoUpdate copyright years. 3881/head
Wolfgang Bangerth [Tue, 31 Jan 2017 13:54:42 +0000 (06:54 -0700)]
Update copyright years.

In particular, every file that was changed in 2016 as evidenced by a change in the git repo
should now reflect this in the copyright header.

7 years agoMerge pull request #3861 from kalj/static-assert-macro
Wolfgang Bangerth [Tue, 31 Jan 2017 14:27:14 +0000 (07:27 -0700)]
Merge pull request #3861 from kalj/static-assert-macro

Introduce static assert macro

7 years agoremove warnings about unused arguments 3880/head
Karl Ljungkvist [Tue, 31 Jan 2017 13:49:42 +0000 (14:49 +0100)]
remove warnings about unused arguments

7 years agoMerge pull request #3875 from davydden/cspline_laplace
Wolfgang Bangerth [Tue, 31 Jan 2017 13:48:06 +0000 (06:48 -0700)]
Merge pull request #3875 from davydden/cspline_laplace

CSpline: add hessian / laplacian, and thread mutex

7 years agofix duplicate symbols for EmptyPayload 3879/head
Denis Davydov [Tue, 31 Jan 2017 13:40:27 +0000 (14:40 +0100)]
fix duplicate symbols for EmptyPayload

7 years agoMerge pull request #3876 from davydden/fe_enriched_constructor_example
Denis Davydov [Tue, 31 Jan 2017 13:32:36 +0000 (14:32 +0100)]
Merge pull request #3876 from davydden/fe_enriched_constructor_example

FE_Enriched: code example for a constructor

7 years agoFE_Enriched: code example for a constructor 3876/head
Denis Davydov [Tue, 31 Jan 2017 08:59:23 +0000 (09:59 +0100)]
FE_Enriched: code example for a constructor

7 years agoMerge pull request #3784 from koecher/typeid-to-type_traits-3597
Wolfgang Bangerth [Tue, 31 Jan 2017 13:26:33 +0000 (06:26 -0700)]
Merge pull request #3784 from koecher/typeid-to-type_traits-3597

Introduces a std conforming type trait for non-distributed vector types

7 years agoadd new macro for static asserts 3861/head
Karl Ljungkvist [Fri, 27 Jan 2017 17:08:57 +0000 (18:08 +0100)]
add new macro for static asserts

static_assert is only supported from C++11 and onwards, so we need to
guard the definition. Since this is a *declaration* rather than a
statement, it does not behave like other Assert* macros. We therefore
name it differently.

7 years agoCSpline: add thread mutex 3875/head
Denis Davydov [Tue, 31 Jan 2017 08:17:52 +0000 (09:17 +0100)]
CSpline: add thread mutex

7 years agoMerge pull request #3859 from Rombur/fix_readwritevector
Martin Kronbichler [Tue, 31 Jan 2017 08:09:43 +0000 (09:09 +0100)]
Merge pull request #3859 from Rombur/fix_readwritevector

Fix a bug in import function of distributed::Vector.

7 years agoMerge pull request #3866 from jppelteret/fix_trilinos_reduction_control
Martin Kronbichler [Tue, 31 Jan 2017 08:08:29 +0000 (09:08 +0100)]
Merge pull request #3866 from jppelteret/fix_trilinos_reduction_control

Implement Trilinos AztecOO_StatusTest for ReductionControl.

7 years agoCSpline: test gradients and laplacians
Denis Davydov [Tue, 31 Jan 2017 07:48:55 +0000 (08:48 +0100)]
CSpline: test gradients and laplacians

7 years agoCSpline: add hessian and laplacian
Denis Davydov [Tue, 31 Jan 2017 07:43:39 +0000 (08:43 +0100)]
CSpline: add hessian and laplacian

7 years agoMerge pull request #3856 from davydden/spherical_function
Jean-Paul Pelteret [Tue, 31 Jan 2017 06:27:35 +0000 (07:27 +0100)]
Merge pull request #3856 from davydden/spherical_function

Add spherical function

7 years agoMerge pull request #3873 from jppelteret/fix_docs_04
Wolfgang Bangerth [Mon, 30 Jan 2017 22:21:28 +0000 (15:21 -0700)]
Merge pull request #3873 from jppelteret/fix_docs_04

Fix broken equations in glossary entry on generalized support points

7 years agoadd spherical function 3856/head
Denis Davydov [Mon, 30 Jan 2017 17:22:55 +0000 (18:22 +0100)]
add spherical function

7 years agoMatch all <dd> and </dd> elements in glossary 3873/head
Jean-Paul Pelteret [Mon, 30 Jan 2017 21:50:09 +0000 (22:50 +0100)]
Match all <dd> and </dd> elements in glossary

7 years agoFix broken equations in glossary entry on generalized support points.
Jean-Paul Pelteret [Mon, 30 Jan 2017 22:02:29 +0000 (23:02 +0100)]
Fix broken equations in glossary entry on generalized support points.

7 years agoMerge pull request #3870 from kalj/no-vectorized-array
Daniel Arndt [Mon, 30 Jan 2017 18:36:42 +0000 (19:36 +0100)]
Merge pull request #3870 from kalj/no-vectorized-array

use std::vector for the prolongation matrix

7 years agoMerge pull request #3869 from davydden/geometric_utilities_minor
Wolfgang Bangerth [Mon, 30 Jan 2017 16:53:37 +0000 (09:53 -0700)]
Merge pull request #3869 from davydden/geometric_utilities_minor

Geometric utilities: another unit test plus minor fixes

7 years agoMerge pull request #3864 from masterleinad/allow_aggregates
Wolfgang Bangerth [Mon, 30 Jan 2017 16:21:06 +0000 (09:21 -0700)]
Merge pull request #3864 from masterleinad/allow_aggregates

Allow SymmetricGradient::operator* for aggregates

7 years agoDocument why the change was necessary 3864/head
Daniel Arndt [Mon, 30 Jan 2017 13:39:19 +0000 (14:39 +0100)]
Document why the change was necessary

7 years agoMerge pull request #3871 from kalj/remove-stray-vector
Martin Kronbichler [Mon, 30 Jan 2017 13:28:37 +0000 (14:28 +0100)]
Merge pull request #3871 from kalj/remove-stray-vector

remove unused vector variable from step-37

7 years agoAdd tests wherein solver is reused in sequential LinearOperator ops. 3866/head
Jean-Paul Pelteret [Sun, 29 Jan 2017 14:03:39 +0000 (15:03 +0100)]
Add tests wherein solver is reused in sequential LinearOperator ops.

7 years agoUpdate results for test lac/schur_complement_05
Jean-Paul Pelteret [Sun, 29 Jan 2017 12:44:04 +0000 (13:44 +0100)]
Update results for test lac/schur_complement_05

7 years agoAdd tests checking result of SolverControl classes with Trilinos solver
Jean-Paul Pelteret [Sun, 29 Jan 2017 09:35:48 +0000 (10:35 +0100)]
Add tests checking result of SolverControl classes with Trilinos solver

7 years agoAdd tests checking result of SolverControl classes with deal.II solver
Jean-Paul Pelteret [Sun, 29 Jan 2017 10:20:09 +0000 (11:20 +0100)]
Add tests checking result of SolverControl classes with deal.II solver

7 years agoImplement Trilinos AztecOO_StatusTest for ReductionControl.
Jean-Paul Pelteret [Sat, 28 Jan 2017 17:34:56 +0000 (18:34 +0100)]
Implement Trilinos AztecOO_StatusTest for ReductionControl.

This patch ensures that Trilinos solvers now respect the convergence
criterion specified by ReductionControl. To do so, we create an
AztecOO_StatusTest that monitors the heuristics that ReductionControl
uses to test for convergence.

Fixes #3843

7 years agoremove unused vector variable 3871/head
Karl Ljungkvist [Mon, 30 Jan 2017 13:13:52 +0000 (14:13 +0100)]
remove unused vector variable

7 years agouse std::vector for the prolongation matrix 3870/head
Karl Ljungkvist [Mon, 30 Jan 2017 11:31:40 +0000 (12:31 +0100)]
use std::vector for the prolongation matrix

this remove implementation details from the setup code

7 years agoanother test for spherical-cartesian transformation 3869/head
Denis Davydov [Mon, 30 Jan 2017 10:11:31 +0000 (11:11 +0100)]
another test for spherical-cartesian transformation

7 years agofix white spaces in test output
Denis Davydov [Mon, 30 Jan 2017 10:03:35 +0000 (11:03 +0100)]
fix white spaces in test output

7 years agoMerge pull request #3867 from drwells/derivativeform-default-methods
Wolfgang Bangerth [Sun, 29 Jan 2017 23:32:18 +0000 (16:32 -0700)]
Merge pull request #3867 from drwells/derivativeform-default-methods

Make DerivativeForm trivially copyable.

7 years agoMerge pull request #3868 from drwells/fix-doxygen-table-2
David Wells [Sun, 29 Jan 2017 22:24:11 +0000 (17:24 -0500)]
Merge pull request #3868 from drwells/fix-doxygen-table-2

Make the doxygen table color consistent with other documentation.

7 years agoMake the doxygen table color consistent with other documentation. 3868/head
David Wells [Sun, 29 Jan 2017 20:07:18 +0000 (15:07 -0500)]
Make the doxygen table color consistent with other documentation.

doxygen uses this particular shade of blue for the background of function
signatures.

7 years agoMerge pull request #3865 from tjhei/fix_memory_consumption_test
David Wells [Sun, 29 Jan 2017 03:25:15 +0000 (22:25 -0500)]
Merge pull request #3865 from tjhei/fix_memory_consumption_test

alternative output for tests/memory_consumption_01

7 years agoMake DerivativeForm trivially copyable. 3867/head
David Wells [Sun, 29 Jan 2017 03:13:36 +0000 (22:13 -0500)]
Make DerivativeForm trivially copyable.

We do not need to specify operator=: the default version generated by
the compiler is identical.

7 years agoMerge pull request #3722 from masterleinad/allow_constraint_shift
Timo Heister [Sat, 28 Jan 2017 20:58:20 +0000 (15:58 -0500)]
Merge pull request #3722 from masterleinad/allow_constraint_shift

Allow using ConstraintMatrix::shift if initialized with IndexSet

7 years agoalternative output for tests/memory_consumption_01 3865/head
Timo Heister [Sat, 28 Jan 2017 20:27:51 +0000 (15:27 -0500)]
alternative output for tests/memory_consumption_01

7 years agoAllow SymmetricGradient::operator* for aggregates
Daniel Arndt [Sat, 28 Jan 2017 11:22:59 +0000 (12:22 +0100)]
Allow SymmetricGradient::operator* for aggregates

7 years agoMerge pull request #3862 from tjhei/test_bdm16
Daniel Arndt [Fri, 27 Jan 2017 22:28:27 +0000 (23:28 +0100)]
Merge pull request #3862 from tjhei/test_bdm16

fix tests/fe/bdm_16

7 years agofix tests/fe/bdm_16 3862/head
Timo Heister [Fri, 27 Jan 2017 18:19:35 +0000 (13:19 -0500)]
fix tests/fe/bdm_16

7 years agoMerge pull request #3860 from masterleinad/fix_parpack_test
Denis Davydov [Fri, 27 Jan 2017 14:54:01 +0000 (15:54 +0100)]
Merge pull request #3860 from masterleinad/fix_parpack_test

Update test to the new MFOperators interface

7 years agoFix a bug in import function of distributed::Vector. 3859/head
Bruno Turcksin [Fri, 27 Jan 2017 14:50:32 +0000 (09:50 -0500)]
Fix a bug in import function of distributed::Vector.

7 years agoUpdate test to the new MFOperators interface 3860/head
Daniel Arndt [Fri, 27 Jan 2017 14:49:59 +0000 (15:49 +0100)]
Update test to the new MFOperators interface

7 years agoMerge pull request #3857 from kalj/templatize-interface-operator
Martin Kronbichler [Fri, 27 Jan 2017 14:16:01 +0000 (15:16 +0100)]
Merge pull request #3857 from kalj/templatize-interface-operator

Templatize interface operator wrt vector type

7 years agoMerge pull request #3858 from davydden/spherical_formulas
Wolfgang Bangerth [Fri, 27 Jan 2017 14:14:40 +0000 (07:14 -0700)]
Merge pull request #3858 from davydden/spherical_formulas

explicitly mention Spherical-Cartesian transformation

7 years agotemplatize interface operator wrt vector type 3857/head
Karl Ljungkvist [Fri, 27 Jan 2017 13:08:17 +0000 (14:08 +0100)]
templatize interface operator wrt vector type

This allows MGInterfaceOperator to work with all valid vector types, and
not just LinearAlgebra::distributed::Vector

7 years agoexplicitly mention Spherical-Cartesian transformation 3858/head
Denis Davydov [Fri, 27 Jan 2017 12:16:12 +0000 (13:16 +0100)]
explicitly mention Spherical-Cartesian transformation

7 years agoMerge pull request #3855 from kronbichler/master
Martin Kronbichler [Fri, 27 Jan 2017 08:22:27 +0000 (09:22 +0100)]
Merge pull request #3855 from kronbichler/master

Augment list of incompatible changes for parallel vector

7 years agoMerge pull request #3849 from tjhei/mg_transfer_followup
Martin Kronbichler [Fri, 27 Jan 2017 07:20:07 +0000 (08:20 +0100)]
Merge pull request #3849 from tjhei/mg_transfer_followup

require trilinos for MGTransferPrebuilt tests

7 years agoAugment list of incompatible changes for parallel vector 3855/head
Martin Kronbichler [Fri, 27 Jan 2017 07:18:03 +0000 (08:18 +0100)]
Augment list of incompatible changes for parallel vector

7 years agoIntroduce type trait is_serial_vector<VectorType> 3784/head
Uwe Köcher [Thu, 12 Jan 2017 15:06:33 +0000 (16:06 +0100)]
Introduce type trait is_serial_vector<VectorType>

renames type trait is_non_distributed_vector to is_serial_vector and put it into dealii::std_cxx11 namespace

intendation with astyle 2.04 / script

more obivious logical statements as requested

moves true_type and false_type to dealii/base/std_cxx11/type_traits.h

moves specialization of is_serial_vector for dealii::Vector classes to their implementation

correction of implementation

moves vector type traits from a single file to their declaration files

testsuite for vector_type_traits.h for current vectors and instanciations

change request for comments

declares the is_serial_vector template without defining it and minor work on documentation

squashes test cases for is_serial_vector and marks output files for trilinos, petsc, mpi

corrects output files for testsuite (results are correct)

corrects intendation

intendation of #include

7 years agoMerge pull request #3854 from kronbichler/fix_compile_no_cxx11
Wolfgang Bangerth [Thu, 26 Jan 2017 17:22:55 +0000 (10:22 -0700)]
Merge pull request #3854 from kronbichler/fix_compile_no_cxx11

Make compile without C++11 but Trilinos

7 years agoMake compile without C++11 but Trilinos 3854/head
Martin Kronbichler [Thu, 26 Jan 2017 16:06:39 +0000 (17:06 +0100)]
Make compile without C++11 but Trilinos

7 years agoMerge pull request #3848 from bangerth/doc-update-1
Bruno Turcksin [Wed, 25 Jan 2017 22:41:05 +0000 (17:41 -0500)]
Merge pull request #3848 from bangerth/doc-update-1

Update the discussion of generalized support points.

7 years agoMerge pull request #3852 from jppelteret/fix_tests_02
Timo Heister [Wed, 25 Jan 2017 22:37:17 +0000 (17:37 -0500)]
Merge pull request #3852 from jppelteret/fix_tests_02

Force step-44 based tests in physics to use C++11

7 years agoForce step-44 based tests in physics to use C++11. 3852/head
Jean-Paul Pelteret [Wed, 25 Jan 2017 21:12:07 +0000 (22:12 +0100)]
Force step-44 based tests in physics to use C++11.

7 years agoMerge pull request #3851 from masterleinad/fix_merge_empty
Timo Heister [Wed, 25 Jan 2017 12:11:49 +0000 (07:11 -0500)]
Merge pull request #3851 from masterleinad/fix_merge_empty

Fix ConstraintMatrix::merge for empty objects

7 years agoFix ConstraintMatrix::merge for empty objects 3851/head
Daniel Arndt [Wed, 25 Jan 2017 10:40:37 +0000 (11:40 +0100)]
Fix ConstraintMatrix::merge for empty objects

7 years agorequire trilinos for MGTransferPrebuilt 3849/head
Timo Heister [Wed, 25 Jan 2017 01:32:35 +0000 (20:32 -0500)]
require trilinos for MGTransferPrebuilt

7 years agoExtend documentation. 3848/head
Wolfgang Bangerth [Wed, 25 Jan 2017 00:05:11 +0000 (17:05 -0700)]
Extend documentation.

7 years agoProvide a reference to the glossary.
Wolfgang Bangerth [Tue, 24 Jan 2017 23:56:35 +0000 (16:56 -0700)]
Provide a reference to the glossary.

7 years agoUpdate the discussion of generalized support points.
Wolfgang Bangerth [Tue, 24 Jan 2017 23:56:07 +0000 (16:56 -0700)]
Update the discussion of generalized support points.

7 years agoMerge pull request #3847 from masterleinad/fix_laplcian_02
Wolfgang Bangerth [Tue, 24 Jan 2017 22:45:17 +0000 (15:45 -0700)]
Merge pull request #3847 from masterleinad/fix_laplcian_02

Fix integrators/laplacian_02 for 64-bit indices

7 years agoFix integrators/laplacian_02 for 64-bit indices 3847/head
Daniel Arndt [Tue, 24 Jan 2017 21:52:26 +0000 (22:52 +0100)]
Fix integrators/laplacian_02 for 64-bit indices

7 years agoMerge pull request #3789 from masterleinad/merge_constraints
Daniel Arndt [Tue, 24 Jan 2017 10:03:06 +0000 (11:03 +0100)]
Merge pull request #3789 from masterleinad/merge_constraints

Allow merging of ConstraintMatrices for different local_lines

7 years agoMerge pull request #3828 from tjhei/mg_transfer_prebuilt_no_trilinos_bug
Martin Kronbichler [Tue, 24 Jan 2017 07:12:40 +0000 (08:12 +0100)]
Merge pull request #3828 from tjhei/mg_transfer_prebuilt_no_trilinos_bug

disable MGTransferPrebuilt without Trilinos

7 years agoMerge pull request #3842 from jppelteret/fix_PR_1783_01
Martin Kronbichler [Tue, 24 Jan 2017 06:58:38 +0000 (07:58 +0100)]
Merge pull request #3842 from jppelteret/fix_PR_1783_01

Various fixes for PR 1783

7 years agoMerge pull request #3840 from tjhei/const_time_stepping
David Wells [Mon, 23 Jan 2017 23:06:12 +0000 (18:06 -0500)]
Merge pull request #3840 from tjhei/const_time_stepping

add missing const to arguments in time_stepping.h

7 years agoAmend Trilinos-related classes for when using non-MPI Trilinos build 3842/head
Jean-Paul Pelteret [Mon, 23 Jan 2017 20:59:04 +0000 (21:59 +0100)]
Amend Trilinos-related classes for when using non-MPI Trilinos build

Fixes #3841

7 years agoRemove C++11 features not supported by GCC 4.6.
Jean-Paul Pelteret [Mon, 23 Jan 2017 19:17:10 +0000 (20:17 +0100)]
Remove C++11 features not supported by GCC 4.6.

Fixes #3839

7 years agoadd missing const to arguments in time_stepping.h 3840/head
Timo Heister [Mon, 23 Jan 2017 17:45:21 +0000 (12:45 -0500)]
add missing const to arguments in time_stepping.h

7 years agoMerge pull request #3838 from kronbichler/avoid_deprecated_partitioner_functions
Timo Heister [Mon, 23 Jan 2017 15:13:59 +0000 (10:13 -0500)]
Merge pull request #3838 from kronbichler/avoid_deprecated_partitioner_functions

Avoid using deprecated functions of Utilities::MPI::Partitioner

7 years agoMerge pull request #3837 from drwells/fix-doxygen-table
Timo Heister [Mon, 23 Jan 2017 15:13:15 +0000 (10:13 -0500)]
Merge pull request #3837 from drwells/fix-doxygen-table

Fix the default doxygen table colors.

7 years agoAvoid using deprecated functions of Utilities::MPI::Partitioner 3838/head
Martin Kronbichler [Mon, 23 Jan 2017 13:28:52 +0000 (14:28 +0100)]
Avoid using deprecated functions of Utilities::MPI::Partitioner

7 years agoFix the default doxygen table colors. 3837/head
David Wells [Mon, 23 Jan 2017 12:40:26 +0000 (07:40 -0500)]
Fix the default doxygen table colors.

7 years agoMerge pull request #3835 from tjhei/msvc_fixes
Martin Kronbichler [Mon, 23 Jan 2017 07:55:46 +0000 (08:55 +0100)]
Merge pull request #3835 from tjhei/msvc_fixes

MSVC fixes

7 years agoMSVC fixes 3835/head
Timo Heister [Mon, 23 Jan 2017 03:13:01 +0000 (22:13 -0500)]
MSVC fixes

- enable compilation of bundled boost with MSVC 2017rc1
- remove static_assert that gets wrongly triggered during normal compilation

7 years agoMerge pull request #3834 from tjhei/interpolate_const
Timo Heister [Mon, 23 Jan 2017 02:50:22 +0000 (21:50 -0500)]
Merge pull request #3834 from tjhei/interpolate_const

Fix constness of argument in FE::interpolate()

7 years agoFix constness of argument in FE::interpolate() 3834/head
Timo Heister [Mon, 23 Jan 2017 01:38:35 +0000 (20:38 -0500)]
Fix constness of argument in FE::interpolate()

Reported by MSVC.

7 years agoMerge pull request #3833 from drwells/project-common-vector-type
Daniel Arndt [Sun, 22 Jan 2017 20:41:46 +0000 (21:41 +0100)]
Merge pull request #3833 from drwells/project-common-vector-type

Move the matrix-free project copy operation up the call stack.

7 years agoMerge pull request #3830 from jppelteret/fix_test_in_3826
Martin Kronbichler [Sun, 22 Jan 2017 19:45:42 +0000 (20:45 +0100)]
Merge pull request #3830 from jppelteret/fix_test_in_3826

Amend test introduced in #3826

7 years agoMove the matrix-free project copy operation up the call stack. 3833/head
David Wells [Sun, 22 Jan 2017 17:04:16 +0000 (12:04 -0500)]
Move the matrix-free project copy operation up the call stack.

The matrix-free projection solves the linear system with a specific vector type
and then copies the result into the given one. This commit moves that copy
operation into a separate function so that the actual matrix free function no
longer depends on the type of the input vector. Put another way: we no longer
have to instantiate the matrix free projections for all possible vector types.

Before moving the copy operation:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       2774         76
source/numerics/vector_tools_project_inst2.cc       2829         81
source/numerics/vector_tools_project_inst3.cc       2823         86

After:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       1855         47
source/numerics/vector_tools_project_inst2.cc       1995         51
source/numerics/vector_tools_project_inst3.cc       2183         55

7 years agoRemove an unused local variable.
David Wells [Sun, 22 Jan 2017 16:58:42 +0000 (11:58 -0500)]
Remove an unused local variable.

7 years agoMerge pull request #3831 from drwells/project-codim-separate-file
Daniel Arndt [Sun, 22 Jan 2017 16:53:59 +0000 (17:53 +0100)]
Merge pull request #3831 from drwells/project-codim-separate-file

Give the codim > 0 VectorTools::project functions their own file.

7 years agoAmend test introduced in #3826 3830/head
Jean-Paul Pelteret [Sun, 22 Jan 2017 07:00:05 +0000 (08:00 +0100)]
Amend test introduced in #3826

This commit attends to the comments made by @tjhei and @drwells after
#3826 was merged.

7 years agoGive the codim > 0 VectorTools::project functions their own file. 3831/head
David Wells [Sun, 22 Jan 2017 05:41:09 +0000 (00:41 -0500)]
Give the codim > 0 VectorTools::project functions their own file.

Since these functions don't go into the MatrixFree code we can split them off
with a very small amount of overhead for the additional parallelization. This
lowers the required memory for the last projection instantiation by about a
gigabyte.

Before:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       2775         79
source/numerics/vector_tools_project_inst2.cc       2882         92
source/numerics/vector_tools_project_inst3.cc       3948        102

After:
                                    File name Memory, MB    Time, s
source/numerics/vector_tools_project_codim.cc       1843         28
      source/numerics/vector_tools_project.cc       2774         76
source/numerics/vector_tools_project_inst2.cc       2829         81
source/numerics/vector_tools_project_inst3.cc       2823         86

7 years agoMerge pull request #3829 from drwells/project-hp-separate-file
Martin Kronbichler [Sun, 22 Jan 2017 08:23:29 +0000 (09:23 +0100)]
Merge pull request #3829 from drwells/project-hp-separate-file

Give the hp version of VectorTools::project its own file.

7 years agoGive the hp version of VectorTools::project its own file. 3829/head
David Wells [Sun, 22 Jan 2017 00:49:53 +0000 (19:49 -0500)]
Give the hp version of VectorTools::project its own file.

This new file takes about 17 seconds to compile and improves the performance of
the non-hp (i.e., the matrix free) projections a little bit.

before splitting out the hp files:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       2860         81
source/numerics/vector_tools_project_inst2.cc       2970        100
source/numerics/vector_tools_project_inst3.cc       3956        114

After:
                                    File name Memory, MB    Time, s
      source/numerics/vector_tools_project.cc       2775         79
source/numerics/vector_tools_project_inst2.cc       2882         92
source/numerics/vector_tools_project_inst3.cc       3948        102

These numbers come from setting the C++ compiler as a shell script containing

    /usr/bin/time -v g++ ${1+"$@"}

and then parsing the output.

7 years agodisable MGTransferPrebuilt without Trilinos 3828/head
Timo Heister [Wed, 18 Jan 2017 22:56:52 +0000 (17:56 -0500)]
disable MGTransferPrebuilt without Trilinos

Do not allow MGTransferPrebuilt to work with distributed::Vector if we
don't have Trilinos. This used to compile and crash at runtime because
we wrongly created serial matrices.
This also fixes the tests/multigrid/transfer_prebuilt_04 error message:
An error occurred in line <361> of file
</mnt/data/testsuite/dealii/source/lac/dynamic_sparsity_pattern.cc> in
function
    bool
dealii::DynamicSparsityPattern::exists(dealii::DynamicSparsityPattern::size_type,
dealii::DynamicSparsityPattern::size_type) const
The violated condition was:
    rowset.size()==0 || rowset.is_element(i)

7 years agoMerge pull request #3826 from bangerth/fix-trilinos-vector-reference
Jean-Paul Pelteret [Sat, 21 Jan 2017 17:56:21 +0000 (18:56 +0100)]
Merge pull request #3826 from bangerth/fix-trilinos-vector-reference

Fix the return type of Trilinos's VectorReference::operator=.

7 years agoAdd test. 3826/head
Wolfgang Bangerth [Sat, 21 Jan 2017 15:50:45 +0000 (08:50 -0700)]
Add test.

7 years agoFix the return type of Trilinos's VectorReference::operator=.
Wolfgang Bangerth [Sat, 21 Jan 2017 15:50:23 +0000 (08:50 -0700)]
Fix the return type of Trilinos's VectorReference::operator=.

This was non-intuitive, though it did not make a difference given the particular
semantics of vector references. Fix it anyway.

7 years agoMerge pull request #1783 from jppelteret/fix_trilinos_lin_ops
Wolfgang Bangerth [Fri, 20 Jan 2017 15:06:34 +0000 (08:06 -0700)]
Merge pull request #1783 from jppelteret/fix_trilinos_lin_ops

Fix Trilinos preconditioners and solvers for use in LinearOperator functions


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.