]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
8 years agoMerge pull request #1891 from bangerth/fix-FE_DGPNonparametric
Denis Davydov [Sat, 21 Nov 2015 09:25:13 +0000 (10:25 +0100)]
Merge pull request #1891 from bangerth/fix-FE_DGPNonparametric

Adjust FE_DGPNonparametric to not return values on the reference cell.

8 years agoMerge pull request #1892 from bangerth/fix-test
Matthias Maier [Sat, 21 Nov 2015 02:14:11 +0000 (20:14 -0600)]
Merge pull request #1892 from bangerth/fix-test

Fix a test so that it also runs in 64-bit mode.

8 years agoFix a test so that it also runs in 64-bit mode. 1892/head
Wolfgang Bangerth [Sat, 21 Nov 2015 02:05:31 +0000 (20:05 -0600)]
Fix a test so that it also runs in 64-bit mode.

8 years agoProvide changelog. 1891/head
Wolfgang Bangerth [Fri, 20 Nov 2015 22:46:51 +0000 (16:46 -0600)]
Provide changelog.

8 years agoAdjust test.
Wolfgang Bangerth [Fri, 20 Nov 2015 22:44:30 +0000 (16:44 -0600)]
Adjust test.

8 years agoAdjust FE_DGPNonparametric to not return values on the reference cell.
Wolfgang Bangerth [Fri, 20 Nov 2015 22:44:24 +0000 (16:44 -0600)]
Adjust FE_DGPNonparametric to not return values on the reference cell.

This is because the element does not define its shape functions by mapping
from the reference cell, so evaluating anything on the reference cell
makes no sense. Fix this by throwing an exception, as discussed in
the documentation of the corresponding functions in the base class.

8 years agoImprove exception message.
Wolfgang Bangerth [Fri, 20 Nov 2015 22:38:47 +0000 (16:38 -0600)]
Improve exception message.

8 years agoMerge pull request #1890 from tamiko/fix_mpi_detection
David Wells [Fri, 20 Nov 2015 21:39:48 +0000 (16:39 -0500)]
Merge pull request #1890 from tamiko/fix_mpi_detection

CMake: Compatibility fixes for CMake 3.4.0

8 years agoCMake: Compatibility fixes for CMake 3.4.0 1890/head
Matthias Maier [Fri, 20 Nov 2015 19:34:16 +0000 (13:34 -0600)]
CMake: Compatibility fixes for CMake 3.4.0

CMake 3.4.0 no longer exports MPI_<LANGUAGE>_COMPILER as cached variable.
Therefore, we also have to make sure to unset ordinary variables (in
addition to cached variables) for our "retry" pass.

8 years agoMerge pull request #1800 from Rombur/la_vector
Bruno Turcksin [Thu, 19 Nov 2015 21:11:41 +0000 (15:11 -0600)]
Merge pull request #1800 from Rombur/la_vector

Add LinearAlgebra::Vector derived from ReadWriteVector and VectorSpaceVector

8 years agoRemove sadd(scalar,Vector) from VectorSpaceVector interface. 1800/head
Bruno Turcksin [Thu, 19 Nov 2015 20:59:31 +0000 (14:59 -0600)]
Remove sadd(scalar,Vector) from VectorSpaceVector interface.

8 years agoMerge pull request #1882 from tjhei/remove_depr_multithreadinfo
Timo Heister [Thu, 19 Nov 2015 13:28:01 +0000 (08:28 -0500)]
Merge pull request #1882 from tjhei/remove_depr_multithreadinfo

remove deprecated MultithreadInfo code

8 years agochangelog entry 1882/head
Timo Heister [Thu, 19 Nov 2015 13:12:24 +0000 (08:12 -0500)]
changelog entry

8 years agoremove deprecated MultithreadInfo code
Timo Heister [Wed, 18 Nov 2015 16:44:33 +0000 (11:44 -0500)]
remove deprecated MultithreadInfo code

8 years agoMerge pull request #1884 from barker29/patch-1
Wolfgang Bangerth [Thu, 19 Nov 2015 01:53:08 +0000 (20:53 -0500)]
Merge pull request #1884 from barker29/patch-1

Update tria_boundary_lib.cc

8 years agoUpdate tria_boundary_lib.cc 1884/head
barker29 [Wed, 18 Nov 2015 23:49:54 +0000 (15:49 -0800)]
Update tria_boundary_lib.cc

Bug fix to allow CylinderBoundary<2,3>

8 years agoFix a typo in a comment.
Bruno Turcksin [Wed, 18 Nov 2015 23:25:01 +0000 (17:25 -0600)]
Fix a typo in a comment.

8 years agoMerge pull request #1880 from tjhei/rework_expand_instantiation_macros
Timo Heister [Wed, 18 Nov 2015 22:42:49 +0000 (17:42 -0500)]
Merge pull request #1880 from tjhei/rework_expand_instantiation_macros

fix expand_instantiation split logic

8 years agofix expand_instantiation split logic 1880/head
Timo Heister [Tue, 17 Nov 2015 21:33:14 +0000 (16:33 -0500)]
fix expand_instantiation split logic

We optionally split instantiations in the generated .inst files based on
two macros SPLIT_INSTANTIATIONS_COUNT and SPLIT_INSTANTIATIONS_INDEX.
Intel 14 generates an error with an invalid % 0 in the old solution,
which happens if _COUNT is undefined. Fix this by defining a macro at
the beginning of the .inst file.

8 years agoMerge pull request #1881 from drwells/undo-vector-scalar-add-deprecation
David Wells [Wed, 18 Nov 2015 19:10:20 +0000 (14:10 -0500)]
Merge pull request #1881 from drwells/undo-vector-scalar-add-deprecation

Revert deprecation of Vector::add(scalar).

8 years agoUpdate a deprecation message in changes.h. 1881/head
David Wells [Wed, 18 Nov 2015 19:04:54 +0000 (14:04 -0500)]
Update a deprecation message in changes.h.

These functions are no longer deprecated and should not be marked as
such in the changelog.

8 years agoRevert deprecation of Vector::add(scalar).
David Wells [Wed, 18 Nov 2015 16:52:04 +0000 (11:52 -0500)]
Revert deprecation of Vector::add(scalar).

This commit partially reverts commit
a45f633f0fc797a499559887d2b5d6be6bf1a508. The un-deprecated functions
were found to be useful an Aspect application, where one subtracted the
mean value from a vector of pressure values.

8 years agoMerge pull request #1863 from bangerth/document-get_data
Bruno Turcksin [Tue, 17 Nov 2015 16:34:39 +0000 (10:34 -0600)]
Merge pull request #1863 from bangerth/document-get_data

Document FiniteElement::get_*_data().

8 years agoMerge pull request #1878 from Rombur/vertex_iterator
Bruno Turcksin [Tue, 17 Nov 2015 16:06:05 +0000 (10:06 -0600)]
Merge pull request #1878 from Rombur/vertex_iterator

Allow to iterate on vertices when dim = 2 or 3.

8 years agoImprove operator -- 1878/head
Bruno Turcksin [Tue, 17 Nov 2015 15:25:47 +0000 (09:25 -0600)]
Improve operator --

8 years agoImprove documentation.
Bruno Turcksin [Tue, 17 Nov 2015 00:30:10 +0000 (18:30 -0600)]
Improve documentation.

8 years agoAllow to iterate on vertices when dim = 2 or 3.
Bruno Turcksin [Mon, 16 Nov 2015 17:31:16 +0000 (11:31 -0600)]
Allow to iterate on vertices when dim = 2 or 3.

8 years agoMerge pull request #1875 from tjhei/quick_test_msg
Timo Heister [Mon, 16 Nov 2015 19:57:13 +0000 (14:57 -0500)]
Merge pull request #1875 from tjhei/quick_test_msg

display friendly quicktest message

8 years agodisplay friendly quicktest message 1875/head
Timo Heister [Mon, 16 Nov 2015 13:36:46 +0000 (08:36 -0500)]
display friendly quicktest message

8 years agoMerge pull request #1873 from tjhei/trilinos_ml_deterministic
Timo Heister [Mon, 16 Nov 2015 17:51:13 +0000 (12:51 -0500)]
Merge pull request #1873 from tjhei/trilinos_ml_deterministic

make Trilinos ML deterministic

8 years agomake Trilinos ML deterministic 1873/head
Timo Heister [Mon, 16 Nov 2015 13:32:13 +0000 (08:32 -0500)]
make Trilinos ML deterministic

Trilinos version 12.2 and older initialize a random seed every time the
ML preconditioner is constructed leading to non-deterministic behavior.
Reported in 2011, this has been finally fixed in 12.4 with the new
"initialize random seed" parameter. Yay!

8 years agoMerge pull request #1877 from ESeNonFossiIo/warning
Wolfgang Bangerth [Mon, 16 Nov 2015 14:55:28 +0000 (09:55 -0500)]
Merge pull request #1877 from ESeNonFossiIo/warning

silence warning

8 years agoMerge pull request #1864 from bangerth/doc-update-39
David Wells [Mon, 16 Nov 2015 14:54:29 +0000 (09:54 -0500)]
Merge pull request #1864 from bangerth/doc-update-39

Update documentation of FiniteElement::shape_*.

8 years agosilence warning 1877/head
ESeNonFossiIo [Mon, 16 Nov 2015 14:46:43 +0000 (15:46 +0100)]
silence warning

8 years agoMerge pull request #1874 from tjhei/trilinos_warning
Martin Kronbichler [Mon, 16 Nov 2015 13:58:20 +0000 (14:58 +0100)]
Merge pull request #1874 from tjhei/trilinos_warning

fix trilinos warning

8 years agofix trilinos warning 1874/head
Timo Heister [Mon, 16 Nov 2015 13:36:03 +0000 (08:36 -0500)]
fix trilinos warning

8 years agoMerge pull request #1872 from bangerth/doc-update-40
Timo Heister [Sun, 15 Nov 2015 22:11:45 +0000 (17:11 -0500)]
Merge pull request #1872 from bangerth/doc-update-40

Update documentation about sparsity patterns.

8 years agoUpdate documentation about sparsity patterns. 1872/head
Wolfgang Bangerth [Sun, 15 Nov 2015 20:00:01 +0000 (14:00 -0600)]
Update documentation about sparsity patterns.

8 years agoMerge pull request #1871 from bangerth/work-around-compiler-bug
Timo Heister [Sat, 14 Nov 2015 20:23:57 +0000 (15:23 -0500)]
Merge pull request #1871 from bangerth/work-around-compiler-bug

Work around a bug in gcc 4.6.

8 years agoWork around a bug in gcc 4.6. 1871/head
Wolfgang Bangerth [Sat, 14 Nov 2015 12:33:07 +0000 (06:33 -0600)]
Work around a bug in gcc 4.6.

8 years agoMerge pull request #1868 from jppelteret/fix_precondition_selector
Denis Davydov [Fri, 13 Nov 2015 14:11:55 +0000 (15:11 +0100)]
Merge pull request #1868 from jppelteret/fix_precondition_selector

Remove errant line left over from a merge conflict.

8 years agoRemove errant line left over from a merge conflict. 1868/head
Jean-Paul Pelteret [Fri, 13 Nov 2015 14:03:00 +0000 (15:03 +0100)]
Remove errant line left over from a merge conflict.

9 years agoMerge pull request #1867 from drwells/consistent-template-type-names
Wolfgang Bangerth [Fri, 13 Nov 2015 04:15:10 +0000 (23:15 -0500)]
Merge pull request #1867 from drwells/consistent-template-type-names

Consistent template type names

9 years agoPrefer PolynomialType to POLY. 1867/head
David Wells [Thu, 12 Nov 2015 20:38:08 +0000 (15:38 -0500)]
Prefer PolynomialType to POLY.

9 years agoPrefer StreamType to STREAM.
David Wells [Thu, 12 Nov 2015 20:28:30 +0000 (15:28 -0500)]
Prefer StreamType to STREAM.

9 years agoPrefer PreconditionerType to PRECONDITIONER.
David Wells [Thu, 12 Nov 2015 20:15:05 +0000 (15:15 -0500)]
Prefer PreconditionerType to PRECONDITIONER.

9 years agoFix an astyle indentation issue.
David Wells [Thu, 12 Nov 2015 20:17:18 +0000 (15:17 -0500)]
Fix an astyle indentation issue.

9 years agoPrefer SolverType to SOLVER.
David Wells [Thu, 12 Nov 2015 19:49:29 +0000 (14:49 -0500)]
Prefer SolverType to SOLVER.

9 years agoMore MATRIX to MatrixType
David Wells [Thu, 12 Nov 2015 19:45:07 +0000 (14:45 -0500)]
More MATRIX to MatrixType

9 years agoMore VECTOR -> VectorType
David Wells [Thu, 12 Nov 2015 19:41:42 +0000 (14:41 -0500)]
More VECTOR -> VectorType

9 years agoPrefer BlockVectorType to BLOCK_VECTOR.
David Wells [Thu, 12 Nov 2015 19:37:50 +0000 (14:37 -0500)]
Prefer BlockVectorType to BLOCK_VECTOR.

9 years agoMore MATRIX -> MatrixType
David Wells [Sun, 1 Nov 2015 21:46:06 +0000 (16:46 -0500)]
More MATRIX -> MatrixType

9 years agoEven more VECTOR -> VectorType
David Wells [Sun, 1 Nov 2015 21:01:02 +0000 (16:01 -0500)]
Even more VECTOR -> VectorType

9 years agoMore VECTOR -> VectorType
David Wells [Sun, 1 Nov 2015 20:46:13 +0000 (15:46 -0500)]
More VECTOR -> VectorType

9 years agoMore VECTOR -> VectorType
David Wells [Sun, 1 Nov 2015 20:22:51 +0000 (15:22 -0500)]
More VECTOR -> VectorType

9 years agoRemove trailing blank lines
David Wells [Fri, 30 Oct 2015 15:06:44 +0000 (11:06 -0400)]
Remove trailing blank lines

9 years agoMore VECTOR -> VectorType
David Wells [Fri, 30 Oct 2015 15:05:49 +0000 (11:05 -0400)]
More VECTOR -> VectorType

9 years agoMATRIX to MatrixType, part 1
David Wells [Fri, 30 Oct 2015 14:44:50 +0000 (10:44 -0400)]
MATRIX to MatrixType, part 1

9 years agoTODO double check Range, Domain, and VECTOR
David Wells [Fri, 30 Oct 2015 01:34:21 +0000 (21:34 -0400)]
TODO double check Range, Domain, and VECTOR

9 years agoVECTOR to VectorType, part 2
David Wells [Sat, 24 Oct 2015 22:58:32 +0000 (18:58 -0400)]
VECTOR to VectorType, part 2

9 years agoVECTOR to VectorType, part 1
David Wells [Sat, 24 Oct 2015 21:12:38 +0000 (17:12 -0400)]
VECTOR to VectorType, part 1

9 years agoUpdate documentation of FiniteElement::shape_*. 1864/head
Wolfgang Bangerth [Wed, 11 Nov 2015 21:32:15 +0000 (15:32 -0600)]
Update documentation of FiniteElement::shape_*.

The updated documentation makes it clearer what implementations are
supposed to do if they overload these functions, and what the default
implementation already does. It also fixes incorrect references in
shape_3rd/4th_derivatives().

9 years agoDocument FiniteElement::get_*_data(). 1863/head
Wolfgang Bangerth [Wed, 11 Nov 2015 21:23:13 +0000 (15:23 -0600)]
Document FiniteElement::get_*_data().

9 years agoMerge pull request #1859 from luca-heltai/fix-diag-blop
Wolfgang Bangerth [Wed, 11 Nov 2015 17:40:10 +0000 (12:40 -0500)]
Merge pull request #1859 from luca-heltai/fix-diag-blop

Fixed bug in DiagonalBlockLinearOperator.

9 years agoMerge pull request #1860 from bangerth/add-output-object-to-get_data
Luca Heltai [Wed, 11 Nov 2015 15:52:53 +0000 (16:52 +0100)]
Merge pull request #1860 from bangerth/add-output-object-to-get_data

Add an output data object to FE::get_*_data().

9 years agoMerge pull request #1854 from davydden/slepc_unit_tests_initial_space
Luca Heltai [Wed, 11 Nov 2015 15:51:24 +0000 (16:51 +0100)]
Merge pull request #1854 from davydden/slepc_unit_tests_initial_space

Slepc unit tests and initial space

9 years agoAdd read/write operations to LinearAlgebra::Vector.
Bruno Turcksin [Wed, 11 Nov 2015 14:39:40 +0000 (08:39 -0600)]
Add read/write operations to LinearAlgebra::Vector.

9 years agoFixed indentation. 1859/head
Luca Heltai [Wed, 11 Nov 2015 08:48:51 +0000 (09:48 +0100)]
Fixed indentation.

9 years agoAdded test for BlockDiagonalOperator bug.
Luca Heltai [Tue, 10 Nov 2015 23:22:26 +0000 (00:22 +0100)]
Added test for BlockDiagonalOperator bug.

9 years agoMerge pull request #1858 from luca-heltai/fix-header
Luca Heltai [Tue, 10 Nov 2015 22:57:13 +0000 (23:57 +0100)]
Merge pull request #1858 from luca-heltai/fix-header

Fixed header.

9 years agoAdded symmetric tensor to sacado_product_type. 1858/head
Luca Heltai [Tue, 10 Nov 2015 22:53:33 +0000 (23:53 +0100)]
Added symmetric tensor to sacado_product_type.

9 years agoAdd an output data object to FE::get_*_data(). 1860/head
Wolfgang Bangerth [Tue, 10 Nov 2015 21:31:21 +0000 (15:31 -0600)]
Add an output data object to FE::get_*_data().

This allows finite elements to already fill certain output data elements
at the time the get_data() function is called, rather than having to later
figure out whether this is the first time (or not) they get into
fill_fe_*_values().

In its current form, the patch only adds that possibility to passing the
same output object to FiniteElement::get_*_data() that will later be used
when FiniteElement::fill_fe_*_values() will be called. The patch does not
actually implement any of the elements using this -- I will leave this
to a later patch addressing #1824.

9 years agoExplicitly specify templates. Not specifying them would make the compiler confused...
Luca Heltai [Tue, 10 Nov 2015 19:33:31 +0000 (20:33 +0100)]
Explicitly specify templates. Not specifying them would make the compiler confused about what version of block_operator to use.

9 years agoFixed header.
Luca Heltai [Tue, 10 Nov 2015 18:48:57 +0000 (19:48 +0100)]
Fixed header.

9 years agominor renaming of data members and variables in SLEPc solver 1854/head
Denis Davydov [Tue, 10 Nov 2015 14:30:57 +0000 (15:30 +0100)]
minor renaming of data members and variables in SLEPc solver

9 years agoMerge pull request #1856 from tjhei/step-40-trilpetsc
Timo Heister [Tue, 10 Nov 2015 14:01:43 +0000 (09:01 -0500)]
Merge pull request #1856 from tjhei/step-40-trilpetsc

decide between Trilinos and PETSc in step-40

9 years agodecide between Trilinos and PETSc in step-40 1856/head
Timo Heister [Tue, 10 Nov 2015 13:42:46 +0000 (08:42 -0500)]
decide between Trilinos and PETSc in step-40

based on a patch sent in by Kevin Drzycimski on the mailing list

9 years agoMerge pull request #1855 from asartori86/symmetric_tensor_sacado
Luca Heltai [Tue, 10 Nov 2015 12:08:27 +0000 (13:08 +0100)]
Merge pull request #1855 from asartori86/symmetric_tensor_sacado

specialized scalar_product(SymmetricTensor,Tensor) with sacado

9 years agospecialized scalar_product symmetric*tensor with sacado 1855/head
alberto sartori [Tue, 10 Nov 2015 12:06:35 +0000 (13:06 +0100)]
specialized scalar_product symmetric*tensor with sacado

9 years agoAdd exceptions when we cannot downcast a VectorSpaceVector object to Vector.
Bruno Turcksin [Wed, 28 Oct 2015 20:49:26 +0000 (15:49 -0500)]
Add exceptions when we cannot downcast a VectorSpaceVector object to Vector.

9 years agoAdd LinearAlgebra::Vector derived from LinearAlgebra::ReadWriteVector and LinearAlgeb...
Bruno Turcksin [Tue, 27 Oct 2015 14:19:04 +0000 (09:19 -0500)]
Add LinearAlgebra::Vector derived from LinearAlgebra::ReadWriteVector and LinearAlgebra::VectorSpaceVector.

9 years agoa note in changes about SLEPc
Denis Davydov [Mon, 9 Nov 2015 16:37:03 +0000 (17:37 +0100)]
a note in changes about SLEPc

9 years agoGHEP and SHEP unit tests for SLEPc
Denis Davydov [Mon, 9 Nov 2015 14:41:02 +0000 (15:41 +0100)]
GHEP and SHEP unit tests for SLEPc

9 years agoextra options to Lanczos and GD SLEPc solvers
Denis Davydov [Mon, 9 Nov 2015 14:39:19 +0000 (15:39 +0100)]
extra options to Lanczos and GD SLEPc solvers

9 years agoadd set_initial_space() to SLEPc solvers
Denis Davydov [Mon, 9 Nov 2015 14:11:15 +0000 (15:11 +0100)]
add set_initial_space() to SLEPc solvers

9 years agoMerge pull request #1849 from bangerth/update-fill_fe_values-argument-list
Martin Kronbichler [Mon, 9 Nov 2015 14:10:39 +0000 (15:10 +0100)]
Merge pull request #1849 from bangerth/update-fill_fe_values-argument-list

Update fill fe values argument list

9 years agoMerge pull request #1847 from adamkosik/master
Wolfgang Bangerth [Mon, 9 Nov 2015 13:59:53 +0000 (22:59 +0900)]
Merge pull request #1847 from adamkosik/master

FETools::project_dg, initialize output to zero

9 years agoDocument FiniteElement::fill_fe_*_values() arguments. 1849/head
Wolfgang Bangerth [Mon, 9 Nov 2015 01:13:57 +0000 (19:13 -0600)]
Document FiniteElement::fill_fe_*_values() arguments.

9 years agoAdd entry in news/changes.h. 1847/head
Adam Kosik [Mon, 9 Nov 2015 08:18:16 +0000 (09:18 +0100)]
Add entry in news/changes.h.

9 years agoMerge pull request #1852 from tamiko/do_not_run_step45
Martin Kronbichler [Mon, 9 Nov 2015 08:14:56 +0000 (09:14 +0100)]
Merge pull request #1852 from tamiko/do_not_run_step45

Testsuite: Bugfix: Do not run step-45

9 years agoMerge pull request #1850 from bangerth/add-test
Martin Kronbichler [Mon, 9 Nov 2015 08:13:48 +0000 (09:13 +0100)]
Merge pull request #1850 from bangerth/add-test

Add test.

9 years agoTestsuite: Bugfix: Do not run step-45 1852/head
Matthias Maier [Mon, 9 Nov 2015 05:21:18 +0000 (23:21 -0600)]
Testsuite: Bugfix: Do not run step-45

step 45 is no longer configuration independent.

9 years agoAdd test. 1850/head
Wolfgang Bangerth [Mon, 9 Nov 2015 01:18:22 +0000 (19:18 -0600)]
Add test.

This is a simplified test of FESystems whose base elements are again FESystems.
The test helped me debug a couple of issues, and might be of help again
at a later time. It is a simpler version of fe/shapes_system.

9 years agoFETools::project_dg, initialize output to zero
adamkosik [Sun, 8 Nov 2015 22:10:57 +0000 (23:10 +0100)]
FETools::project_dg, initialize output to zero

9 years agoMerge pull request #1846 from gassmoeller/fix-real-to-unit-zero-discriminant-again
Denis Davydov [Sun, 8 Nov 2015 09:01:25 +0000 (10:01 +0100)]
Merge pull request #1846 from gassmoeller/fix-real-to-unit-zero-discriminant-again

Fix MappingQ1

9 years agoFix MappingQ1 1846/head
Rene Gassmoeller [Sun, 8 Nov 2015 06:06:47 +0000 (00:06 -0600)]
Fix MappingQ1

9 years agoReshuffle the argument list of FE::fill_fe_*_values().
Wolfgang Bangerth [Sat, 7 Nov 2015 20:59:23 +0000 (14:59 -0600)]
Reshuffle the argument list of FE::fill_fe_*_values().

This brings the argument list in line with the changes made to Mapping in #1204.
In essence, it is all about sorting the list in a halfway reasonable order. No
functional changes.

The patch changes all of the derived finite element classes as well. In some cases
it changes the name of arguments to match a uniform style.

9 years agoMerge pull request #1845 from bangerth/improve-loop-nesting
Wolfgang Bangerth [Sun, 8 Nov 2015 01:52:25 +0000 (10:52 +0900)]
Merge pull request #1845 from bangerth/improve-loop-nesting

Improve loop nesting.

9 years agoMake the same kind of changes also to FESystem. 1845/head
Wolfgang Bangerth [Sun, 8 Nov 2015 01:49:53 +0000 (19:49 -0600)]
Make the same kind of changes also to FESystem.

9 years agoImprove loop nesting.
Wolfgang Bangerth [Fri, 6 Nov 2015 22:13:43 +0000 (16:13 -0600)]
Improve loop nesting.

We had a number of places of the form
  for (...tight loop...)
    if (constant condition)
      data update;

The compiler almost certainly can hoist the condition out of the loop,
but why make it this complicated for the compiler. I also find the code
easier to read because the loop is really only over a counting index
and does not carry any particular meaning at a level higher than the
if-statement.


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.