]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
9 years agoMerge pull request #299 from bangerth/add-test-2
Luca Heltai [Fri, 12 Dec 2014 19:56:45 +0000 (20:56 +0100)]
Merge pull request #299 from bangerth/add-test-2

Add another testcase.

9 years agoAdd another testcase. 299/head
Wolfgang Bangerth [Fri, 12 Dec 2014 19:05:30 +0000 (13:05 -0600)]
Add another testcase.

This is for the same problem as reported by Krishna Garikipati
on the mailing list this week. He verified that this used to fail
and works now, so I would like to add it to the testsuite to make
sure we don't regress in this functionality.

9 years agoMerge pull request #298 from Rombur/workstream
Wolfgang Bangerth [Fri, 12 Dec 2014 18:41:52 +0000 (12:41 -0600)]
Merge pull request #298 from Rombur/workstream

Use parallel_for instead of a pipeline in implementation3 of WorkStream.

9 years agoUse parallel_for instead of a pipeline in implementation3 of WorkStream. 298/head
Bruno Turcksin [Fri, 12 Dec 2014 18:05:37 +0000 (12:05 -0600)]
Use parallel_for instead of a pipeline in implementation3 of WorkStream.

9 years agoMerge pull request #289 from l-korous/master
Wolfgang Bangerth [Fri, 12 Dec 2014 15:14:48 +0000 (09:14 -0600)]
Merge pull request #289 from l-korous/master

Make entire library code compile on MSVC & gcc.

9 years agoSquashed changes for build working both on MSVC and other compilers. 289/head
Lukas Korous [Fri, 12 Dec 2014 15:05:07 +0000 (16:05 +0100)]
Squashed changes for build working both on MSVC and other compilers.

9 years agoMerge pull request #297 from tamiko/fix_wno-xxx_detection_for_gcc
Wolfgang Bangerth [Thu, 11 Dec 2014 20:06:21 +0000 (14:06 -0600)]
Merge pull request #297 from tamiko/fix_wno-xxx_detection_for_gcc

CMake: Correctly detect -Wno-... support for gcc

9 years agoCMake: Correctly detect -Wno-... support for gcc 297/head
Matthias Maier [Thu, 11 Dec 2014 19:49:34 +0000 (20:49 +0100)]
CMake: Correctly detect -Wno-... support for gcc

gcc does not emit a warning if an unknown -Wno-... flag is specified on the
command line, thus the ENABLE_IF_SUPPORTED macro unconditionally enabled
-Wno-... flags for gcc. Unfortunately, gcc _does_ emit a warning for the
unrecognized compiler option if another warning is emitted in the same
compilation unit. This is now fixed by always querying for the non-negated
version, i.e. -Wfoo instead of -Wno-foo.

9 years agoMerge pull request #296 from bangerth/fix-slepc-icc-problem
Luca Heltai [Thu, 11 Dec 2014 17:33:43 +0000 (18:33 +0100)]
Merge pull request #296 from bangerth/fix-slepc-icc-problem

Elide default initialization.

9 years agoElide default initialization. 296/head
Wolfgang Bangerth [Thu, 11 Dec 2014 17:12:40 +0000 (11:12 -0600)]
Elide default initialization.

Apparently, the initialization of a std::shared_ptr with NULL is not
allowed with the Intel compiler. It is also not necessary (that's what
the default constructor does anyway), so just remove the line.

9 years agoMerge pull request #295 from bangerth/code-reorg
Luca Heltai [Thu, 11 Dec 2014 15:25:58 +0000 (16:25 +0100)]
Merge pull request #295 from bangerth/code-reorg

Reorganize code in symmetric_tensor.h.

9 years agoReorganize code in symmetric_tensor.h. 295/head
Wolfgang Bangerth [Thu, 11 Dec 2014 13:09:03 +0000 (07:09 -0600)]
Reorganize code in symmetric_tensor.h.

The current implementation of SymmetricTensor<rank,dim,Number>::unrolled_to_component_indices
and its inverse function was only implemented for rank=2 and looked essentially like this:

  Assert (rank == 2, ExcNotImplemented());
  Assert (i < n_independent_components, ExcIndexRange(i, 0, n_independent_components));
  switch (dim)
    {
    case 1:
      return TableIndices<2>(0,0);
    ...

Such code cannot be generalized to rank=4 (in fact, it doesn't even compile
for rank=4) because we would have to return objects of different types
in any switch on rank. The only way around this is to use dispatch to
different functions that do the work for a particular rank.

This patch does the first part of this: set up the dispatch. Later patches
may in fact implement this function and its inverse for other ranks than 2.

9 years agoMerge pull request #294 from bangerth/add-test
Luca Heltai [Thu, 11 Dec 2014 07:53:42 +0000 (08:53 +0100)]
Merge pull request #294 from bangerth/add-test

Add a test.

9 years agoAdd a test. 294/head
Wolfgang Bangerth [Thu, 11 Dec 2014 02:46:29 +0000 (20:46 -0600)]
Add a test.

9 years agoMerge pull request #293 from tamiko/miscellaneous_fixups
Matthias Maier [Wed, 10 Dec 2014 19:24:03 +0000 (20:24 +0100)]
Merge pull request #293 from tamiko/miscellaneous_fixups

Miscellaneous fixups

9 years agoalso add the 'package' target to $ make info output 293/head
Matthias Maier [Wed, 10 Dec 2014 14:20:26 +0000 (15:20 +0100)]
also add the 'package' target to $ make info output

9 years agoadd package component to rewrite rule
Matthias Maier [Wed, 10 Dec 2014 14:13:22 +0000 (15:13 +0100)]
add package component to rewrite rule

9 years agoWhitespace and indenting fixups
Matthias Maier [Wed, 10 Dec 2014 14:10:28 +0000 (15:10 +0100)]
Whitespace and indenting fixups

9 years agoMerge pull request #291 from luca-heltai/cpack-support
Matthias Maier [Wed, 10 Dec 2014 13:10:14 +0000 (14:10 +0100)]
Merge pull request #291 from luca-heltai/cpack-support

Added cpack configuration, and Mac Bundle package.

9 years agoFixed licence, restructured setup_cpack 291/head
Luca Heltai [Wed, 10 Dec 2014 12:55:35 +0000 (13:55 +0100)]
Fixed licence, restructured setup_cpack

9 years agoMerge pull request #292 from bangerth/show-shape-functions
Luca Heltai [Wed, 10 Dec 2014 10:32:14 +0000 (11:32 +0100)]
Merge pull request #292 from bangerth/show-shape-functions

Include pictures of shape functions for FE_Q and FE_Q_Hierarchical.

9 years agoInclude pictures of shape functions for FE_Q and FE_Q_Hierarchical. 292/head
Wolfgang Bangerth [Wed, 10 Dec 2014 02:15:47 +0000 (20:15 -0600)]
Include pictures of shape functions for FE_Q and FE_Q_Hierarchical.

This patch uses pictures generated by Manuel Quezada de Luna for the shape
functions of FE_Q and FE_Q_Hierarchical.

9 years agoAdded cpack configuration, and Mac Bundle package.
Luca Heltai [Fri, 14 Nov 2014 09:37:16 +0000 (10:37 +0100)]
Added cpack configuration, and Mac Bundle package.

9 years agoMerge pull request #281 from bangerth/doc-updates-and-test-additions
Wolfgang Bangerth [Tue, 9 Dec 2014 13:12:02 +0000 (07:12 -0600)]
Merge pull request #281 from bangerth/doc-updates-and-test-additions

Doc updates and test additions

9 years agoRewrite parts of the implementation to make it easier to read. 281/head
Wolfgang Bangerth [Mon, 1 Dec 2014 16:24:37 +0000 (10:24 -0600)]
Rewrite parts of the implementation to make it easier to read.

9 years agoRewrite documentation for a function.
Wolfgang Bangerth [Mon, 1 Dec 2014 16:10:33 +0000 (10:10 -0600)]
Rewrite documentation for a function.

9 years agoMerge pull request #290 from tamiko/miscellaneous_cleanup
Luca Heltai [Tue, 9 Dec 2014 13:11:31 +0000 (14:11 +0100)]
Merge pull request #290 from tamiko/miscellaneous_cleanup

Miscellaneous cleanup

9 years agoUpdate CMake documentation 290/head
Matthias Maier [Tue, 9 Dec 2014 13:01:13 +0000 (14:01 +0100)]
Update CMake documentation

9 years agoCleanup DEAL_II_MSVC testsuite handling
Matthias Maier [Tue, 9 Dec 2014 12:57:35 +0000 (13:57 +0100)]
Cleanup DEAL_II_MSVC testsuite handling

9 years agoMerge pull request #288 from bangerth/clarify-documentation
Bruno Turcksin [Mon, 8 Dec 2014 15:31:43 +0000 (09:31 -0600)]
Merge pull request #288 from bangerth/clarify-documentation

Clarify documentation.

9 years agoClarify documentation. 288/head
Wolfgang Bangerth [Mon, 8 Dec 2014 15:27:12 +0000 (09:27 -0600)]
Clarify documentation.

9 years agoAdd tests for a function that currently does not appear to be tested.
Wolfgang Bangerth [Mon, 1 Dec 2014 16:09:52 +0000 (10:09 -0600)]
Add tests for a function that currently does not appear to be tested.

9 years agoMerge pull request #287 from davydden/refinement_optimized
Martin Kronbichler [Sat, 6 Dec 2014 15:16:25 +0000 (16:16 +0100)]
Merge pull request #287 from davydden/refinement_optimized

refine_and_coarsen_optmise

9 years agomade refine_and_coarsen_optmise easier to read and less error prone 287/head
Denis Davydov [Sat, 6 Dec 2014 12:59:23 +0000 (13:59 +0100)]
made refine_and_coarsen_optmise easier to read and less error prone

9 years agoMerge pull request #286 from kronbichler/master
Wolfgang Bangerth [Fri, 5 Dec 2014 17:14:14 +0000 (11:14 -0600)]
Merge pull request #286 from kronbichler/master

Cleanup file of news, added one contribution

9 years agoCleanup file of news, added one contribution 286/head
Martin Kronbichler [Fri, 5 Dec 2014 16:13:44 +0000 (17:13 +0100)]
Cleanup file of news, added one contribution

9 years agoMerge pull request #285 from tjhei/documentation
Wolfgang Bangerth [Thu, 4 Dec 2014 20:42:25 +0000 (14:42 -0600)]
Merge pull request #285 from tjhei/documentation

clarify documentation of ConstraintMatrix::distribute(VECTOR)

9 years agoclarify documentation of ConstraintMatrix::distribute(VECTOR) 285/head
Timo Heister [Thu, 4 Dec 2014 20:37:16 +0000 (15:37 -0500)]
clarify documentation of ConstraintMatrix::distribute(VECTOR)

This came up as a question on the mailing list so we should be more precise.

9 years agoMerge pull request #284 from bangerth/fix-cuthill-mckee-without-dofs
Martin Kronbichler [Thu, 4 Dec 2014 20:07:07 +0000 (21:07 +0100)]
Merge pull request #284 from bangerth/fix-cuthill-mckee-without-dofs

Fix cuthill mckee without dofs

9 years agoAdd a testcase. 284/head
Michał Wichrowski [Thu, 4 Dec 2014 19:58:03 +0000 (13:58 -0600)]
Add a testcase.

9 years agoDoFRenumbering::Cuthill_McKee failed in parallel when a processor had no dofs.
Wolfgang Bangerth [Thu, 4 Dec 2014 19:57:06 +0000 (13:57 -0600)]
DoFRenumbering::Cuthill_McKee failed in parallel when a processor had no dofs.

9 years agoMerge pull request #283 from bangerth/more-ms-vc-fixes
Wolfgang Bangerth [Thu, 4 Dec 2014 16:47:56 +0000 (10:47 -0600)]
Merge pull request #283 from bangerth/more-ms-vc-fixes

More ms vc fixes

9 years agoKeep the old data types in declarations and only use the workaround for MS Visual... 283/head
Wolfgang Bangerth [Thu, 4 Dec 2014 16:46:19 +0000 (10:46 -0600)]
Keep the old data types in declarations and only use the workaround for MS Visual Studio.

9 years agoPatch by Lukas Korous: Make namespace DerivativeApproximation work with MS Visual...
Lukas Korous [Wed, 3 Dec 2014 23:34:38 +0000 (00:34 +0100)]
Patch by Lukas Korous: Make namespace DerivativeApproximation work with MS Visual Studio.

9 years agoMerge pull request #282 from bangerth/patches-for-ms-vc
Wolfgang Bangerth [Wed, 3 Dec 2014 13:19:41 +0000 (07:19 -0600)]
Merge pull request #282 from bangerth/patches-for-ms-vc

Patches for Microsoft Visual Studio

9 years agoAdd a news entry. 282/head
Wolfgang Bangerth [Wed, 3 Dec 2014 13:14:36 +0000 (07:14 -0600)]
Add a news entry.

9 years agoPatch by Lukas Korous: Work around a couple of problems with Microsoft Visual Studio...
Wolfgang Bangerth [Wed, 3 Dec 2014 13:13:26 +0000 (07:13 -0600)]
Patch by Lukas Korous: Work around a couple of problems with Microsoft Visual Studio. In the process, fix a couple of oversights and typos.

9 years agoPatch by Lukas Korous: Only include <mm_malloc.h> if not on Microsoft Visual Studio.
Wolfgang Bangerth [Wed, 3 Dec 2014 13:11:25 +0000 (07:11 -0600)]
Patch by Lukas Korous: Only include <mm_malloc.h> if not on Microsoft Visual Studio.

9 years agoPatch by Lukas Korous: Only include <mm_malloc.h> if not on Microsoft Visual Studio.
Wolfgang Bangerth [Wed, 3 Dec 2014 13:10:52 +0000 (07:10 -0600)]
Patch by Lukas Korous: Only include <mm_malloc.h> if not on Microsoft Visual Studio.

9 years agoPatch by Lukas Korous: Work around a compiler problem in Microsoft Visual Studio...
Wolfgang Bangerth [Wed, 3 Dec 2014 13:09:35 +0000 (07:09 -0600)]
Patch by Lukas Korous: Work around a compiler problem in Microsoft Visual Studio by disabling a safety check (for just this compiler) that should never trigger.

9 years agoPatch by Lukas Korous: Remove the explicit instantiation of a function since this...
Wolfgang Bangerth [Wed, 3 Dec 2014 13:04:42 +0000 (07:04 -0600)]
Patch by Lukas Korous: Remove the explicit instantiation of a function since this creates problems for Microsoft Visual Studio. The instantiation is not strictly needed since the function, internal::MatrixFreeFunctions::ShapeInfo<T>::reinit() is defined in a file that is always included.

9 years agoPatch by Lukas Korous: Apply a workaround for Microsoft Visual Studio.
Wolfgang Bangerth [Wed, 3 Dec 2014 12:59:07 +0000 (06:59 -0600)]
Patch by Lukas Korous: Apply a workaround for Microsoft Visual Studio.

9 years agoPatch by Lukas Korous: Disable the testsuite for Microsoft Visual Studio because...
Wolfgang Bangerth [Wed, 3 Dec 2014 12:54:53 +0000 (06:54 -0600)]
Patch by Lukas Korous: Disable the testsuite for Microsoft Visual Studio because the testsuite uses Unix shell commands.

9 years agoMerge pull request #229 from davydden/GHEP
Toby D. Young [Tue, 2 Dec 2014 08:55:49 +0000 (09:55 +0100)]
Merge pull request #229 from davydden/GHEP

generalised hermitian

9 years agoMerge pull request #279 from tamiko/fix_periodic_bc
Matthias Maier [Mon, 1 Dec 2014 13:00:37 +0000 (14:00 +0100)]
Merge pull request #279 from tamiko/fix_periodic_bc

Fix various bugs in periodic boundary conditions

9 years agocode cleanup 279/head
Matthias Maier [Mon, 1 Dec 2014 11:38:03 +0000 (12:38 +0100)]
code cleanup

9 years agoMerge pull request #280 from bangerth/doc-update-4
Timo Heister [Mon, 1 Dec 2014 02:36:36 +0000 (21:36 -0500)]
Merge pull request #280 from bangerth/doc-update-4

Update documentation in one place.

9 years agoUpdate documentation in one place. 280/head
Wolfgang Bangerth [Mon, 1 Dec 2014 02:27:22 +0000 (20:27 -0600)]
Update documentation in one place.

9 years agomake astyle happy
Matthias Maier [Wed, 26 Nov 2014 22:34:04 +0000 (23:34 +0100)]
make astyle happy

9 years agoAvoid unnecessary inversion of a transformation matrix
Matthias Maier [Sun, 30 Nov 2014 14:38:23 +0000 (15:38 +0100)]
Avoid unnecessary inversion of a transformation matrix

9 years agoBugfix: adjust rotation for inverted matching
Matthias Maier [Wed, 26 Nov 2014 23:51:46 +0000 (00:51 +0100)]
Bugfix: adjust rotation for inverted matching

When constraining from face_1 to face_2 we have to use an (orientation,
flip, rotation) bitset that actually gives the relative orientation of
face_2 to face_1 (and not as specified face_1 to face_2).

This worked by accident because the constraining direction face_2 to face_1
is accidentally almost always used in all test cases.

9 years agoadd another version of the dof_tools_21_b
Matthias Maier [Sun, 30 Nov 2014 13:31:46 +0000 (14:31 +0100)]
add another version of the dof_tools_21_b

that also tests for correct behaviour with hanging nodes. This is done by
additionally refining the second cube once. Test that constraining face_1
-> face_2 and the opposite direction face_2 -> face_1 give the exact same
result.

Manually verified that this is indeed the case

9 years agoAlso check for reverse matching in bits/dof_tools_21_b
Matthias Maier [Sun, 30 Nov 2014 13:37:02 +0000 (14:37 +0100)]
Also check for reverse matching in bits/dof_tools_21_b

Also check for the inverse matching from face_2 to face_1 in the test
bits/dof_tools_21_b. Both directions must produce the same constraint
matrix except for the ordering of the constraints possibly being swapped.

Manually verified that this is the case

9 years agoBugfix: Conditionally use matrix in orthogonal_equality
Matthias Maier [Wed, 26 Nov 2014 21:53:04 +0000 (22:53 +0100)]
Bugfix: Conditionally use matrix in orthogonal_equality

Only apply the parameter matrix in orthogonal_equality if it is a spacedim
x spacedim matrix and can be interpreted as a rotation.

Further bugfixes and documentation updates.

9 years agoUse spacedim in compute_transformation instead of incorrect dim
Matthias Maier [Wed, 26 Nov 2014 22:30:22 +0000 (23:30 +0100)]
Use spacedim in compute_transformation instead of incorrect dim

9 years agoCode cleanup and several bugfixes
Matthias Maier [Wed, 26 Nov 2014 22:38:39 +0000 (23:38 +0100)]
Code cleanup and several bugfixes

Refactor the creation of the final (possibly rotated) interpolation matrix
in make_periodicity_constraints into its own function. Add some additional
asserts to catch corner cases.

Return early if nothing to do (fixes dof_tools_21* tests)

9 years agorestructure and clean up some code
Matthias Maier [Wed, 26 Nov 2014 22:38:17 +0000 (23:38 +0100)]
restructure and clean up some code

9 years agoMerge pull request #278 from bangerth/fix-serialization-of-dof-handlers
Martin Kronbichler [Thu, 27 Nov 2014 21:08:57 +0000 (22:08 +0100)]
Merge pull request #278 from bangerth/fix-serialization-of-dof-handlers

Fix serialization of dof handlers

9 years agoAdd the corresponding testcase for hp::DoFHandler as well, just to be on the safe... 278/head
Wolfgang Bangerth [Thu, 27 Nov 2014 05:44:02 +0000 (23:44 -0600)]
Add the corresponding testcase for hp::DoFHandler as well, just to be on the safe side.

9 years agoFix an issue reported by David Wells.
Wolfgang Bangerth [Thu, 27 Nov 2014 05:33:44 +0000 (23:33 -0600)]
Fix an issue reported by David Wells.

The problem here is that class DoFHandler only uses pointers to the
DoF faces and levels objects in the .h file, so we thought that we
don't have to #include the respective header files where these classes
are declared. But we also have a serialization function that uses
them and if you call it, the compiler will complain about undeclared
classes being used.

9 years agoMerge pull request #275 from kronbichler/master
Wolfgang Bangerth [Wed, 26 Nov 2014 18:07:54 +0000 (12:07 -0600)]
Merge pull request #275 from kronbichler/master

Improve error message for out-of-bound access in parallel vector

9 years agoImprove error message for out-of-bound access in parallel vector 275/head
Martin Kronbichler [Wed, 26 Nov 2014 17:54:27 +0000 (18:54 +0100)]
Improve error message for out-of-bound access in parallel vector

9 years agomade target eigenvalue a shared pointer 229/head
Denis Davydov [Wed, 26 Nov 2014 09:05:57 +0000 (10:05 +0100)]
made target eigenvalue a shared pointer

9 years agoadded all options with comments
Denis Davydov [Tue, 25 Nov 2014 09:48:43 +0000 (10:48 +0100)]
added all options with comments

9 years agorenamed residual_norm to relative_error
Denis Davydov [Mon, 24 Nov 2014 10:49:50 +0000 (11:49 +0100)]
renamed residual_norm to relative_error

9 years agoswitch to EPSGetErrorEstimate as others might give inconsistent results
Denis Davydov [Fri, 7 Nov 2014 17:24:57 +0000 (18:24 +0100)]
switch to EPSGetErrorEstimate as others might give inconsistent results

9 years agoset problem type to generalised hermitian in Step 36.
Denis Davydov [Fri, 7 Nov 2014 15:48:27 +0000 (16:48 +0100)]
set problem type to generalised hermitian in Step 36.

9 years agouse EPSComputeRelativeError in SLEPc SolverBase.
Denis Davydov [Fri, 7 Nov 2014 15:47:29 +0000 (16:47 +0100)]
use EPSComputeRelativeError in SLEPc SolverBase.

9 years agoMerge pull request #274 from bangerth/doc-fixes-11
Martin Kronbichler [Tue, 25 Nov 2014 17:17:01 +0000 (18:17 +0100)]
Merge pull request #274 from bangerth/doc-fixes-11

Improve grammar of error message.

9 years agoImprove grammar of error message. 274/head
Wolfgang Bangerth [Tue, 25 Nov 2014 17:06:06 +0000 (11:06 -0600)]
Improve grammar of error message.

9 years agoMerge pull request #271 from kronbichler/master
Wolfgang Bangerth [Tue, 25 Nov 2014 13:56:14 +0000 (07:56 -0600)]
Merge pull request #271 from kronbichler/master

Include mpi.h in base/config.h to avoid Intel compile error

9 years agoMerge pull request #272 from felgru/typos
Martin Kronbichler [Tue, 25 Nov 2014 10:40:27 +0000 (11:40 +0100)]
Merge pull request #272 from felgru/typos

fix typos in doc/news/changes.h

9 years agofix typos in doc/news/changes.h 272/head
Felix Gruber [Tue, 25 Nov 2014 10:16:56 +0000 (11:16 +0100)]
fix typos in doc/news/changes.h

9 years agoInclude mpi.h in base/config.h to avoid Intel compile error 271/head
Martin Kronbichler [Tue, 25 Nov 2014 08:07:16 +0000 (09:07 +0100)]
Include mpi.h in base/config.h to avoid Intel compile error

On my system with Intel compiler, I used to get the following error:
In file included from /lrz/sys/intel/mpi_41_3_048/intel64/include/mpi.h(1279),
                 from [...]/deal.II/include/deal.II/base/mpi.h(23),
                 from [...]/deal.II/include/deal.II/base/utilities.h(21),
                 from [...]/deal.II/include/deal.II/base/index_set.h(20),
                 from [...]/deal.II/include/deal.II/lac/vector.h(24),
                 from [...]/deal.II/source/numerics/data_out_faces.cc(18):
/lrz/sys/intel/mpi_41_3_048/intel64/include/mpicxx.h(99): error: #error directive: "SEEK_CUR is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
  #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
   ^

This is Intel compiler 15.0 with Intel MPI. The solution to this problem is to include mpi.h early enough, which for us means to include it in base/config.h before we include types.h.

9 years agoMerge pull request #270 from kronbichler/master
Wolfgang Bangerth [Mon, 24 Nov 2014 17:28:19 +0000 (11:28 -0600)]
Merge pull request #270 from kronbichler/master

Two small unrelated patches

9 years agoPass TriaIterator<DoFCellAccessor> by reference ant not by value 270/head
Martin Kronbichler [Mon, 24 Nov 2014 17:09:24 +0000 (18:09 +0100)]
Pass TriaIterator<DoFCellAccessor> by reference ant not by value

This makes the interface of FEValues::reinit consistent between Triangulation::cell_iterator and DoFHandler::cell_iterator.

9 years agoAvoid compiler with gcc 4.7
Martin Kronbichler [Mon, 24 Nov 2014 16:55:42 +0000 (17:55 +0100)]
Avoid compiler with gcc 4.7

9 years agoMerge pull request #269 from tamiko/make_icc_happy
Martin Kronbichler [Mon, 24 Nov 2014 16:35:10 +0000 (17:35 +0100)]
Merge pull request #269 from tamiko/make_icc_happy

silence icc warning #15531 "A porition of SIMD loop is serialized"

9 years agosilence icc warning #15531 "A porition of SIMD loop is serialized" 269/head
Matthias Maier [Mon, 24 Nov 2014 16:27:51 +0000 (17:27 +0100)]
silence icc warning #15531 "A porition of SIMD loop is serialized"

9 years agoMerge pull request #267 from tamiko/fix_testsuite
Wolfgang Bangerth [Mon, 24 Nov 2014 14:58:46 +0000 (08:58 -0600)]
Merge pull request #267 from tamiko/fix_testsuite

Fix testsuite, and cleanup the test in arpack

9 years agoMerge pull request #268 from tjhei/fix_mathjax_on_website
Wolfgang Bangerth [Mon, 24 Nov 2014 14:57:43 +0000 (08:57 -0600)]
Merge pull request #268 from tjhei/fix_mathjax_on_website

Fix mathjax on website broken due to https

9 years agoFix mathjax on website broken due to https 268/head
Timo Heister [Mon, 24 Nov 2014 13:04:03 +0000 (08:04 -0500)]
Fix mathjax on website broken due to https

The dealii.org webserver now tries to serve https sites. This breaks mathjax because of:

Mixed Content: The page at 'https://www.dealii.org/developer/doxygen/deal.II/step_31.html' was loaded over HTTPS, but requested an insecure resource 'http://cdn.mathjax.org/mathjax/latest/MathJax.js'. This request has been blocked;

This commit fixes this by loading it over https.

9 years agoFix testsuite, cleanup tests in arpack/ 267/head
Matthias Maier [Mon, 24 Nov 2014 10:58:08 +0000 (11:58 +0100)]
Fix testsuite, cleanup tests in arpack/

9 years agoMerge pull request #266 from bangerth/adjust-tests-for-p4est-1.0+
Matthias Maier [Mon, 24 Nov 2014 07:06:14 +0000 (08:06 +0100)]
Merge pull request #266 from bangerth/adjust-tests-for-p4est-1.0+

Adjust normalize.pl for p4est 1.1+.

9 years agoAdjust normalize.pl for p4est 1.1+. 266/head
Wolfgang Bangerth [Mon, 24 Nov 2014 02:22:38 +0000 (20:22 -0600)]
Adjust normalize.pl for p4est 1.1+.

We have a number of tests that use p4est output functionality, but the
format p4est writes in has changed in recent p4est versions. Delete the
lines that differ in normalize.pl and adjust stored test output files
accordingly.

9 years agoMerge pull request #263 from davydden/arpack
Wolfgang Bangerth [Sat, 22 Nov 2014 20:23:19 +0000 (14:23 -0600)]
Merge pull request #263 from davydden/arpack

Arpack

9 years agoMerge pull request #258 from kronbichler/matrix_free_assembly
Martin Kronbichler [Sat, 22 Nov 2014 07:23:51 +0000 (08:23 +0100)]
Merge pull request #258 from kronbichler/matrix_free_assembly

Initialization of FEEvaluation like FEValues

9 years agoInitialization of FEEvaluation like FEValues 258/head
Martin Kronbichler [Thu, 20 Nov 2014 14:36:18 +0000 (15:36 +0100)]
Initialization of FEEvaluation like FEValues

A new way to initialize an FEEvaluation object (fast tensor product evaluation routines) has been introduced.
It takes the same arguments as the initialization method of FEValues, namely a Mapping, a FiniteElement, a
one-dimensional Quadrature<1> object, and update flags. This enables using FEEvaluation on the fly just as
FEValues. Since FEEvaluation treats objects of one base element only, this class can select which components
to read.

The concept is explained in the documentation of the FEEvaluation class and an example for the Laplace matrix
is given. However, it also works for the Stokes operator as shown by the test program assemble_matrix_02.

9 years agoImproved comparison operators for TriaAccessorBase 264/head
Martin Kronbichler [Sat, 22 Nov 2014 07:08:33 +0000 (08:08 +0100)]
Improved comparison operators for TriaAccessorBase

The previous commit was a bit too aggressive because it is still useful to catch the case when comparing iterators to two different triangulations (leading to infinite loops).

Therefore, I now merely extended the assertion to not trigger when one of the two objects is default constructed, i.e., does contain a null pointer to tria. The comparison then does not need tria == a.tria because invalid iterators use invalid cell and level index, too (leading to !=).

9 years agoadded a step-36 test to arpack category 263/head
Denis Davydov [Sat, 22 Nov 2014 06:44:54 +0000 (07:44 +0100)]
added a step-36 test to arpack category


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.