]>
https://gitweb.dealii.org/ - dealii.git/log
David Wells [Wed, 16 Aug 2017 02:18:12 +0000 (22:18 -0400)]
Fix some #ifdef logic in the Timer class.
This fixes a bug due to rewritting an else statement where the 'else' was in an
'ifdef' and the body of the else statement (one line) was outside of it. This
caused, after a rewrite, the body of the former else statement to be executed
twice.
Before
9ef67983fd the end of this function was:
#ifdef DEAL_II_WITH_MPI
if (sync_wall_time && Utilities::MPI::job_supports_mpi())
{
this->mpi_data
= Utilities::MPI::min_max_avg (last_lap_time, mpi_communicator);
last_lap_time = this->mpi_data.max;
cumulative_wall_time += last_lap_time;
}
else
#endif
cumulative_wall_time += last_lap_time;
}
return cumulative_time;
where the 'else' statement was run unconditionally if MPI was not present. The
previous (prior to this patch) version was:
#ifdef DEAL_II_WITH_MPI
this->mpi_data = Utilities::MPI::min_max_avg (last_lap_time,
mpi_communicator);
if (sync_wall_time && Utilities::MPI::job_supports_mpi())
{
last_lap_time = this->mpi_data.max;
last_lap_cpu_time = Utilities::MPI::min_max_avg (last_lap_cpu_time,
mpi_communicator).max;
}
cumulative_wall_time += last_lap_time;
cumulative_time += last_lap_cpu_time;
this->mpi_total_data = Utilities::MPI::min_max_avg (cumulative_wall_time,
mpi_communicator);
#endif
cumulative_wall_time += last_lap_time;
cumulative_time += last_lap_cpu_time;
}
return cumulative_time;
which will, if MPI is available, double count both the cumulative wall time and
cummulative time.
Jean-Paul Pelteret [Thu, 3 Aug 2017 14:21:55 +0000 (16:21 +0200)]
Merge pull request #4687 from bangerth/simplify-code-2
Simplify some code.
Wolfgang Bangerth [Thu, 3 Aug 2017 12:54:46 +0000 (06:54 -0600)]
Simplify some code.
If you can write code in one line instead of two, then that's worth it :-)
Jean-Paul Pelteret [Thu, 3 Aug 2017 12:05:19 +0000 (14:05 +0200)]
Merge pull request #4683 from bangerth/fix-hp-serialization
Use the proper way to deal with std::unique_ptrs.
Wolfgang Bangerth [Thu, 3 Aug 2017 10:59:52 +0000 (04:59 -0600)]
Use the proper way to deal with std::unique_ptrs.
David Wells [Wed, 2 Aug 2017 18:53:49 +0000 (14:53 -0400)]
Merge pull request #4681 from masterleinad/fix_array_view_09_release
Fix test output for base/array_view_09 in release mode
Daniel Arndt [Wed, 2 Aug 2017 16:44:42 +0000 (18:44 +0200)]
Fix test output for base/array_view_09 in release mode
Wolfgang Bangerth [Mon, 31 Jul 2017 19:58:57 +0000 (13:58 -0600)]
Merge pull request #4670 from drwells/improve-arrayview
Improve arrayview
Wolfgang Bangerth [Mon, 31 Jul 2017 19:58:23 +0000 (13:58 -0600)]
Merge pull request #4677 from masterleinad/implement_constexpr_maxmin
Fix the last remaining constexpr std::max in patterns.h
Daniel Arndt [Mon, 31 Jul 2017 15:38:08 +0000 (17:38 +0200)]
Fix the last remaining constexpr std::max in patterns.h
Timo Heister [Mon, 31 Jul 2017 14:54:34 +0000 (10:54 -0400)]
Merge pull request #4675 from masterleinad/implement_constexpr_maxmin
Implement constexpr max and min for DEAL_II_WITH_CXX14=false
Daniel Arndt [Sun, 30 Jul 2017 22:13:09 +0000 (00:13 +0200)]
Implement constexpr max and min for DEAL_II_WITH_CXX14=false
Denis Davydov [Sun, 30 Jul 2017 17:53:31 +0000 (19:53 +0200)]
Merge pull request #4674 from masterleinad/rename_test
Rename test requiring Trilinos
Daniel Arndt [Sun, 30 Jul 2017 16:34:12 +0000 (18:34 +0200)]
Rename test requiring Trilinos
David Wells [Thu, 27 Jul 2017 04:15:57 +0000 (00:15 -0400)]
Add iterator-friendly make_array_view functions.
Bruno Turcksin [Fri, 28 Jul 2017 12:21:53 +0000 (08:21 -0400)]
Merge pull request #4660 from gassmoeller/fix_zero_dim_xdmf
Fix DataOutInterface::create_xdmf_entry for dim==0
Daniel Arndt [Fri, 28 Jul 2017 10:14:15 +0000 (12:14 +0200)]
Merge pull request #4665 from kronbichler/fix_tensor_product_matrix_test
Relax tolerance in tensor product matrix test with floats.
Wolfgang Bangerth [Thu, 27 Jul 2017 20:49:05 +0000 (14:49 -0600)]
Merge pull request #4671 from tjhei/doc_stokes_l
improve documentation of Functions::StokesLSingularity
Timo Heister [Thu, 27 Jul 2017 18:17:14 +0000 (14:17 -0400)]
improve documentation of Functions::StokesLSingularity
Jean-Paul Pelteret [Thu, 27 Jul 2017 07:44:12 +0000 (09:44 +0200)]
Merge pull request #4659 from drwells/fix-mapping-q1
Fix mapping q1
David Wells [Thu, 27 Jul 2017 03:09:01 +0000 (23:09 -0400)]
Add a simple iterator interface to ArrayView.
David Wells [Thu, 27 Jul 2017 02:45:20 +0000 (22:45 -0400)]
Use std::remove_cv instead of boost::remove_cv.
David Wells [Thu, 27 Jul 2017 02:43:38 +0000 (22:43 -0400)]
Clean up headers and forward declarations for ArrayView.
Martin Kronbichler [Wed, 26 Jul 2017 16:42:38 +0000 (18:42 +0200)]
Relax tolerance in tensor product matrix test with floats.
David Wells [Tue, 25 Jul 2017 23:20:44 +0000 (19:20 -0400)]
Describe the changes in a test and changelog entry.
Martin Kronbichler [Wed, 26 Jul 2017 07:31:05 +0000 (09:31 +0200)]
Merge pull request #4657 from masterleinad/alternative_pattern
Add alternative output for pattern_tools_06/07
Rene Gassmoeller [Tue, 25 Jul 2017 22:11:35 +0000 (16:11 -0600)]
Fix confusion about dim and spacedim
David Wells [Tue, 25 Jul 2017 21:46:13 +0000 (17:46 -0400)]
Mark some quantities in transform_real_to_unit_cell as long double.
This improves accuracy but incurs a modest (about 20%) slowdown. Using the exact
formula here instead of the Newton scheme (that we use for MappingQGeneric)
results in a 40x speed up anyway, so this is relatively small.
David Wells [Tue, 25 Jul 2017 21:44:25 +0000 (17:44 -0400)]
Rearrange the MappingQ1 quadratic equation solver.
This gets around an issue where, for parallelograms, a should be zero: the
previous version did not handle this correctly.
Daniel Arndt [Tue, 25 Jul 2017 14:06:42 +0000 (16:06 +0200)]
Add alternative output for pattern_tools_06/07
Timo Heister [Tue, 25 Jul 2017 13:24:41 +0000 (09:24 -0400)]
Merge pull request #4655 from nfehn/master
Improvement of initialization of Chebyshev smoother.
Niklas Fehn [Tue, 25 Jul 2017 11:53:23 +0000 (13:53 +0200)]
entry in /doc/news/changes/minor/ added
Niklas Fehn [Tue, 25 Jul 2017 11:33:36 +0000 (13:33 +0200)]
Improvement of initialization of Chebyshev smoother.
Make initial guess robust with respect to number of processors by operating on the global index.
Wolfgang Bangerth [Tue, 25 Jul 2017 07:57:43 +0000 (01:57 -0600)]
Merge pull request #4651 from gassmoeller/fix_zero_dim_output
Fix some minor bugs in #4628
Wolfgang Bangerth [Tue, 25 Jul 2017 07:55:26 +0000 (01:55 -0600)]
Merge pull request #4653 from kronbichler/fix_unity_build_with_clang_3.5
Fix unity build with clang-3.5.
Martin Kronbichler [Tue, 25 Jul 2017 06:40:35 +0000 (08:40 +0200)]
Fix unity build with clang-3.5.
Martin Kronbichler [Tue, 25 Jul 2017 06:13:41 +0000 (08:13 +0200)]
Merge pull request #4652 from masterleinad/fix_compilation_without_p4est
Fix compilation without p4est
Jean-Paul Pelteret [Tue, 25 Jul 2017 05:45:09 +0000 (07:45 +0200)]
Merge pull request #4650 from masterleinad/fix_warning_geometryinfo
Fix warning about instantiation of GeometryInfo<0>
Daniel Arndt [Mon, 24 Jul 2017 22:20:07 +0000 (00:20 +0200)]
Fix compilation without p4est
Rene Gassmoeller [Mon, 24 Jul 2017 22:17:15 +0000 (16:17 -0600)]
Fix some minor bugs
Daniel Arndt [Mon, 24 Jul 2017 22:02:49 +0000 (00:02 +0200)]
Fix warning about instantiation of GeometryInfo<0>
Matthias Maier [Mon, 24 Jul 2017 18:31:23 +0000 (13:31 -0500)]
Merge pull request #4442 from drwells/manual-unity
Manual unity
David Wells [Mon, 24 Jul 2017 16:06:55 +0000 (12:06 -0400)]
Merge pull request #4645 from bangerth/constraint-matrix-copy
Implement a ConstraintMatrix::copy_from() function.
Martin Kronbichler [Mon, 24 Jul 2017 14:54:28 +0000 (16:54 +0200)]
Merge pull request #4648 from drwells/add-p4est-zlib-check
Fail to install p4est if it is not compiled with zlib.
David Wells [Sun, 23 Jul 2017 21:02:38 +0000 (17:02 -0400)]
Fail to install p4est if it is not compiled with zlib.
Martin Kronbichler [Mon, 24 Jul 2017 10:40:34 +0000 (12:40 +0200)]
Merge pull request #4649 from simonsticko/disable_warning_immersed_surface_quad
Remove a compiler warning in ImmersedSurfaceQuadrature.
Simon Sticko [Mon, 24 Jul 2017 09:22:13 +0000 (11:22 +0200)]
Remove a compiler warning in ImmersedSurfaceQuadrature.
David Wells [Sun, 23 Jul 2017 18:05:33 +0000 (14:05 -0400)]
Update the documentation on CMakeLists.txt files.
David Wells [Sun, 16 Jul 2017 12:50:05 +0000 (08:50 -0400)]
Add an option for a unity build.
David Wells [Sun, 16 Jul 2017 17:33:38 +0000 (13:33 -0400)]
Add another FE namespace fix.
Wolfgang Bangerth [Sun, 23 Jul 2017 20:08:31 +0000 (14:08 -0600)]
Merge pull request #4632 from luca-heltai/pattern-tools
PatternsTools namespace.
Wolfgang Bangerth [Sun, 23 Jul 2017 20:06:21 +0000 (14:06 -0600)]
Merge pull request #4305 from simonsticko/immersed_surface_quadrature
Add class ImmersedSurfaceQuadrature
Wolfgang Bangerth [Sun, 23 Jul 2017 20:03:07 +0000 (14:03 -0600)]
Merge pull request #4646 from drwells/add-default-prm-note
Add a note on generating default parameter files.
David Wells [Sun, 23 Jul 2017 17:27:40 +0000 (13:27 -0400)]
Merge pull request #4647 from bangerth/doc-update
Minor doc updates to a couple of classes.
David Wells [Sat, 22 Jul 2017 23:32:04 +0000 (19:32 -0400)]
Add a note on generating default parameter files.
A since-removed equivalent to parse_input (see commit
8baf33d316b ) took,
as an optional argument argument, a boolean that specified whether or
not parse_input should write a default parameter file if one is not
found. This commit summarizes that old documentation for users who want
the old behavior.
Luca Heltai [Sun, 23 Jul 2017 14:31:19 +0000 (16:31 +0200)]
Moved changelog to major.
Luca Heltai [Fri, 21 Jul 2017 11:01:08 +0000 (13:01 +0200)]
Specialise Bool pattern.
Luca Heltai [Thu, 20 Jul 2017 20:39:59 +0000 (22:39 +0200)]
Fixed naming of is_stl_container and is_stl_map
Luca Heltai [Thu, 20 Jul 2017 18:00:05 +0000 (20:00 +0200)]
change log
Luca Heltai [Thu, 20 Jul 2017 17:52:02 +0000 (19:52 +0200)]
Added add_parameter function and tests.
Luca Heltai [Thu, 20 Jul 2017 17:07:43 +0000 (19:07 +0200)]
Moved pattern_tools.h inside patterns.h
Luca Heltai [Thu, 20 Jul 2017 16:37:57 +0000 (18:37 +0200)]
Moved Patterns namespace in its own file.
Luca Heltai [Thu, 20 Jul 2017 10:18:51 +0000 (12:18 +0200)]
Support for std::pair
Luca Heltai [Thu, 20 Jul 2017 09:47:44 +0000 (11:47 +0200)]
Renamed files to pattern_tools
Luca Heltai [Thu, 20 Jul 2017 08:58:28 +0000 (10:58 +0200)]
Fixed support for arbitrary map types.
Luca Heltai [Thu, 20 Jul 2017 08:08:14 +0000 (10:08 +0200)]
Renamed namespace, fixed cxx14 dep, fixed stylistic comments.
Luca Heltai [Wed, 19 Jul 2017 19:35:03 +0000 (21:35 +0200)]
Added tests for several Convert<T> types.
Luca Heltai [Wed, 19 Jul 2017 19:23:41 +0000 (21:23 +0200)]
Add Convert for string types.
Luca Heltai [Wed, 19 Jul 2017 19:08:48 +0000 (21:08 +0200)]
Added convert for std::complex types.
Luca Heltai [Wed, 19 Jul 2017 18:56:00 +0000 (20:56 +0200)]
Added tensor and point types.
Moved some functions to internal namespaces.
Luca Heltai [Wed, 19 Jul 2017 18:53:48 +0000 (20:53 +0200)]
Removed patterns_tools.cc and refactored add_parameter
Luca Heltai [Tue, 18 Jul 2017 20:22:52 +0000 (22:22 +0200)]
Made all stl containers and map available.
Luca Heltai [Tue, 18 Jul 2017 19:04:24 +0000 (21:04 +0200)]
Specialization of Convert for Map types.
Luca Heltai [Tue, 18 Jul 2017 19:03:13 +0000 (21:03 +0200)]
Added getters to Patterns::Map
Luca Heltai [Tue, 18 Jul 2017 18:15:12 +0000 (20:15 +0200)]
Patterns for arithmetic types and container types.
Luca Heltai [Tue, 18 Jul 2017 17:09:37 +0000 (19:09 +0200)]
Added Convert struct, with its specialisation for integral types
Luca Heltai [Tue, 18 Jul 2017 17:05:45 +0000 (19:05 +0200)]
Added getters for Patterns::List
Wolfgang Bangerth [Sun, 23 Jul 2017 07:09:08 +0000 (01:09 -0600)]
Minor doc updates to a couple of classes.
Jean-Paul Pelteret [Sat, 22 Jul 2017 20:48:07 +0000 (22:48 +0200)]
Merge pull request #4644 from bangerth/doc-update
Better document the extract_subvector_to() functions.
Wolfgang Bangerth [Sat, 22 Jul 2017 20:31:09 +0000 (14:31 -0600)]
Explicitly =delete ConstraintMatrix::operator=().
Currently, it was just made 'private' and not implemented.
Wolfgang Bangerth [Sat, 22 Jul 2017 20:29:54 +0000 (14:29 -0600)]
Add a changelog entry.
Wolfgang Bangerth [Sat, 22 Jul 2017 20:29:46 +0000 (14:29 -0600)]
Add a test.
Wolfgang Bangerth [Sat, 22 Jul 2017 20:28:39 +0000 (14:28 -0600)]
Implement a ConstraintMatrix::copy_from() function.
Wolfgang Bangerth [Sat, 22 Jul 2017 19:42:12 +0000 (13:42 -0600)]
Better document the extract_subvector_to() functions.
This commit deals with the variant of the function that takes iterators.
Wolfgang Bangerth [Sat, 22 Jul 2017 19:33:50 +0000 (13:33 -0600)]
Better document the extract_subvector_to() functions.
This commit deals with the variant of the function that takes vectors.
Wolfgang Bangerth [Sat, 22 Jul 2017 04:33:36 +0000 (22:33 -0600)]
Merge pull request #4628 from gassmoeller/allow_zero_dim_output
Allow zero dimensional output in DataOutBase
Rene Gassmoeller [Sat, 22 Jul 2017 00:03:17 +0000 (18:03 -0600)]
Add instantiations
Wolfgang Bangerth [Fri, 21 Jul 2017 22:46:37 +0000 (16:46 -0600)]
Merge pull request #4640 from kronbichler/fix_mg_ghost_periodic
Fix ghost layer with multigrid hierarchy for distributed triangulation
Bruno Turcksin [Fri, 21 Jul 2017 21:27:30 +0000 (17:27 -0400)]
Merge pull request #4636 from bangerth/dofhandler-update
More Dofhandler updates
Rene Gassmoeller [Tue, 18 Jul 2017 17:04:51 +0000 (11:04 -0600)]
Instantiate output for zero dim.
Wolfgang Bangerth [Fri, 21 Jul 2017 18:48:59 +0000 (12:48 -0600)]
Address a couple of review comments.
Wolfgang Bangerth [Fri, 21 Jul 2017 18:42:49 +0000 (12:42 -0600)]
Standardize on 'template <class DoFHandlerType>'.
David Wells [Thu, 20 Jul 2017 22:21:24 +0000 (18:21 -0400)]
Merge pull request #4641 from bangerth/make-var-const
Make a couple of variables 'const'.
Wolfgang Bangerth [Thu, 20 Jul 2017 20:46:01 +0000 (14:46 -0600)]
Make a couple of variables 'const'.
Martin Kronbichler [Thu, 20 Jul 2017 15:16:15 +0000 (17:16 +0200)]
Add changelog.
Martin Kronbichler [Thu, 20 Jul 2017 15:14:16 +0000 (17:14 +0200)]
Add new test
Martin Kronbichler [Thu, 20 Jul 2017 15:14:01 +0000 (17:14 +0200)]
Fix bug in MG ghost layer computation leading to dead locks.
Daniel Arndt [Thu, 20 Jul 2017 16:40:50 +0000 (18:40 +0200)]
Merge pull request #4637 from bangerth/fix-serialization
Fix serialization of DoFHandler.
Simon Sticko [Mon, 24 Apr 2017 17:49:04 +0000 (19:49 +0200)]
Add class ImmersedSurfaceQuadrature
Add a class representing an quadrature rule over a surface cutting arbitrary
through the unit cell. In order to map a quadrature rule over a surface from
the unit cell to physical space it is not sufficient to know only points and
scalar weights, since information about the normal is also required. In
addition to points and weights this class also stores the normal vectors.
Bruno Turcksin [Thu, 20 Jul 2017 01:36:20 +0000 (21:36 -0400)]
Merge pull request #4634 from bangerth/simplify-code
Simplify a small piece of code.
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.