]> https://gitweb.dealii.org/ - dealii-svn.git/log
dealii-svn.git
13 years agoReduce range of shift test.
kronbichler [Wed, 27 Jul 2011 09:24:47 +0000 (09:24 +0000)]
Reduce range of shift test.

git-svn-id: https://svn.dealii.org/trunk@23970 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix warning on unused variables.
kronbichler [Wed, 27 Jul 2011 09:15:28 +0000 (09:15 +0000)]
Fix warning on unused variables.

git-svn-id: https://svn.dealii.org/trunk@23969 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoCorrect error message for deal.II and PETSc MPI settings consistency.
kronbichler [Wed, 27 Jul 2011 09:15:09 +0000 (09:15 +0000)]
Correct error message for deal.II and PETSc MPI settings consistency.

git-svn-id: https://svn.dealii.org/trunk@23968 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agorename class to Step3
kanschat [Wed, 27 Jul 2011 05:32:17 +0000 (05:32 +0000)]
rename class to Step3

git-svn-id: https://svn.dealii.org/trunk@23967 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agomake first steps a bit more conforming to later
kanschat [Wed, 27 Jul 2011 05:29:10 +0000 (05:29 +0000)]
make first steps a bit more conforming to later

git-svn-id: https://svn.dealii.org/trunk@23966 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoImprove performance of evaluation of tensor product polynomials: no need to allocate...
kronbichler [Tue, 26 Jul 2011 15:13:11 +0000 (15:13 +0000)]
Improve performance of evaluation of tensor product polynomials: no need to allocate memory.

git-svn-id: https://svn.dealii.org/trunk@23965 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoNow finally fix LagrangeEquidistant constructor. Add TODO for serialization.
kronbichler [Tue, 26 Jul 2011 15:12:31 +0000 (15:12 +0000)]
Now finally fix LagrangeEquidistant constructor. Add TODO for serialization.

git-svn-id: https://svn.dealii.org/trunk@23964 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix initialization of LagrangeEquidistant.
kronbichler [Tue, 26 Jul 2011 14:41:50 +0000 (14:41 +0000)]
Fix initialization of LagrangeEquidistant.

git-svn-id: https://svn.dealii.org/trunk@23963 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDocument changes in FE_Q and Polynomial.
kronbichler [Tue, 26 Jul 2011 13:05:59 +0000 (13:05 +0000)]
Document changes in FE_Q and Polynomial.

git-svn-id: https://svn.dealii.org/trunk@23962 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoImproved initialization of embedding and restriction: need to evaluate a tensor produ...
kronbichler [Tue, 26 Jul 2011 13:05:02 +0000 (13:05 +0000)]
Improved initialization of embedding and restriction: need to evaluate a tensor product polynomial a lot of times on tensor product points. Hence, do the polynomial evaluation in one dimension at a time. This makes code slightly more complicated to read, but it evaluates much faster, especially for high orders. Now, FE_Q can be initialized for order 15 in 3D in less than a second. Before it took hundreds of seconds.

git-svn-id: https://svn.dealii.org/trunk@23961 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoBetter evaluation of Lagrangian basis functions: use the form based on product of...
kronbichler [Tue, 26 Jul 2011 13:00:44 +0000 (13:00 +0000)]
Better evaluation of Lagrangian basis functions: use the form based on product of linear factors whenever possible. However, the form gets destroyed if we add polynomials, so still hold the old coefficients.

git-svn-id: https://svn.dealii.org/trunk@23960 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoPolynomial evaluation at high orders: old implementation based on form a_0 + a_1...
kronbichler [Tue, 26 Jul 2011 12:58:28 +0000 (12:58 +0000)]
Polynomial evaluation at high orders: old implementation based on form a_0 + a_1 x^1 + ... + a_n x^n produces bad results.

git-svn-id: https://svn.dealii.org/trunk@23959 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd note for mac users
kanschat [Mon, 25 Jul 2011 20:40:05 +0000 (20:40 +0000)]
Add note for mac users

git-svn-id: https://svn.dealii.org/trunk@23958 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoStart todo for fixing tutorial
kanschat [Mon, 25 Jul 2011 14:41:51 +0000 (14:41 +0000)]
Start todo for fixing tutorial

git-svn-id: https://svn.dealii.org/trunk@23957 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoInitialization does not belong into a loop
kanschat [Mon, 25 Jul 2011 14:32:14 +0000 (14:32 +0000)]
Initialization does not belong into a loop

git-svn-id: https://svn.dealii.org/trunk@23956 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoCompiler doesn't like 'typename' outside templates.
bangerth [Fri, 22 Jul 2011 03:47:34 +0000 (03:47 +0000)]
Compiler doesn't like 'typename' outside templates.

git-svn-id: https://svn.dealii.org/trunk@23955 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix typo.
bangerth [Thu, 21 Jul 2011 16:21:41 +0000 (16:21 +0000)]
Fix typo.

git-svn-id: https://svn.dealii.org/trunk@23954 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agobugfix create_boundary_right_hand_side
gerecht [Wed, 20 Jul 2011 15:07:03 +0000 (15:07 +0000)]
bugfix create_boundary_right_hand_side

git-svn-id: https://svn.dealii.org/trunk@23953 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoNew test, to be fixed by Daniel Gerecht.
bangerth [Wed, 20 Jul 2011 12:15:05 +0000 (12:15 +0000)]
New test, to be fixed by Daniel Gerecht.

git-svn-id: https://svn.dealii.org/trunk@23952 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUpdate numbers.
bangerth [Wed, 20 Jul 2011 11:44:09 +0000 (11:44 +0000)]
Update numbers.

git-svn-id: https://svn.dealii.org/trunk@23951 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd a mechanism for thread local storage to the library. Add corresponding tests.
bangerth [Mon, 18 Jul 2011 20:37:24 +0000 (20:37 +0000)]
Add a mechanism for thread local storage to the library. Add corresponding tests.

git-svn-id: https://svn.dealii.org/trunk@23950 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoSet svn properties.
bangerth [Mon, 18 Jul 2011 19:28:12 +0000 (19:28 +0000)]
Set svn properties.

git-svn-id: https://svn.dealii.org/trunk@23949 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUse same style for referencing support as elsewhere.
bangerth [Tue, 12 Jul 2011 16:22:45 +0000 (16:22 +0000)]
Use same style for referencing support as elsewhere.

git-svn-id: https://svn.dealii.org/trunk@23945 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUse a replacement version of std::lower_bound that is optimized for small arrays...
bangerth [Tue, 12 Jul 2011 12:23:28 +0000 (12:23 +0000)]
Use a replacement version of std::lower_bound that is optimized for small arrays and that doesn't have the awkward O(N) partitioning check. For more information, see the documentation in utilities.h.

git-svn-id: https://svn.dealii.org/trunk@23944 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDo not copy FE_Collection objects (and same for mapping and quadratures)
bangerth [Tue, 12 Jul 2011 10:30:09 +0000 (10:30 +0000)]
Do not copy FE_Collection objects (and same for mapping and quadratures)
between ScratchData objects, as this is an expensive operation. Rather, create
these objects up front and only keep references to them around.

git-svn-id: https://svn.dealii.org/trunk@23943 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoRename function and document its need.
bangerth [Tue, 12 Jul 2011 01:29:44 +0000 (01:29 +0000)]
Rename function and document its need.

git-svn-id: https://svn.dealii.org/trunk@23942 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoRemove debug output in grid_generator. Oops.
heister [Mon, 11 Jul 2011 21:56:56 +0000 (21:56 +0000)]
Remove debug output in grid_generator. Oops.

git-svn-id: https://svn.dealii.org/trunk@23941 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoTest for avoiding bug in FE_Q with arbitrary nodes: the hp line/quad identities need...
kronbichler [Mon, 11 Jul 2011 12:15:19 +0000 (12:15 +0000)]
Test for avoiding bug in FE_Q with arbitrary nodes: the hp line/quad identities need to be computed from support points, not equidistant points.

git-svn-id: https://svn.dealii.org/trunk@23940 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix bug in FE_Q with arbitrary nodes: the hp line/quad identities need to be computed...
kronbichler [Mon, 11 Jul 2011 12:14:39 +0000 (12:14 +0000)]
Fix bug in FE_Q with arbitrary nodes: the hp line/quad identities need to be computed from support points, not equidistant points. Also, the embedding matrices for arbitrary nodes do not need to be computed with FE_Tools. They can be generated in the usual case if we use the support points directly and not equidistant points.

git-svn-id: https://svn.dealii.org/trunk@23939 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDo operator= in parallel just as matrix-vector products. This gives considerably...
kronbichler [Mon, 11 Jul 2011 12:12:03 +0000 (12:12 +0000)]
Do operator= in parallel just as matrix-vector products. This gives considerably better speed of parallel mat-vecs on some NUMA systems where the first access to a memory location determines which memory bank will hold the data.

git-svn-id: https://svn.dealii.org/trunk@23938 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoget_data cannot return null pointer
kanschat [Sat, 9 Jul 2011 17:03:06 +0000 (17:03 +0000)]
get_data cannot return null pointer

git-svn-id: https://svn.dealii.org/trunk@23937 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agonew functions for setting face and subfaces without deleting matrices
kanschat [Sat, 9 Jul 2011 17:02:27 +0000 (17:02 +0000)]
new functions for setting face and subfaces without deleting matrices

git-svn-id: https://svn.dealii.org/trunk@23936 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoReplace a quadratic algorithm by a linear one. This greatly accelerates a good number...
bangerth [Fri, 8 Jul 2011 01:36:31 +0000 (01:36 +0000)]
Replace a quadratic algorithm by a linear one. This greatly accelerates a good number of the tests we have. For example, deal.II/grid_in and deal.II/grid_in_msh_version_2 speed up from several minutes to just a few seconds.

git-svn-id: https://svn.dealii.org/trunk@23935 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAccelerate the central part of the reordering algorithm by a factor of
bangerth [Fri, 8 Jul 2011 01:02:06 +0000 (01:02 +0000)]
Accelerate the central part of the reordering algorithm by a factor of
four. This line
      std::transform(inquads.begin(),inquads.end(), std::back_inserter(mquads),
     std::bind2nd(MQuad::MakeQuad(),sides) );
takes up almost the entire time since the call to MakeQuad is linear in the
number of edges and is called a linear number of times -- making the whole
thing quadratic. This may not have been such a big deal when we used the
regular libstdc++ library, but since we now test with the debug version, it
takes positively forever. The patch changes the way we work in MakeQuad:
instead of calling lower_bound four times, we now do the equivalent work only
once and check for all four indices at the same time.

git-svn-id: https://svn.dealii.org/trunk@23934 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAbort the program at the moment since it locks up and we don't have a way to
bangerth [Fri, 8 Jul 2011 00:11:45 +0000 (00:11 +0000)]
Abort the program at the moment since it locks up and we don't have a way to
fix it at present.

git-svn-id: https://svn.dealii.org/trunk@23933 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoToss section on Trilinos versions prior to 10.0.
bangerth [Thu, 7 Jul 2011 21:53:40 +0000 (21:53 +0000)]
Toss section on Trilinos versions prior to 10.0.

git-svn-id: https://svn.dealii.org/trunk@23932 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd GridGenerator::quarter_hyper_shell. Only implemented in 2d for now.
heister [Thu, 7 Jul 2011 19:40:51 +0000 (19:40 +0000)]
Add GridGenerator::quarter_hyper_shell. Only implemented in 2d for now.

git-svn-id: https://svn.dealii.org/trunk@23931 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix example in documentation: control is no longer public.
heister [Thu, 7 Jul 2011 19:37:17 +0000 (19:37 +0000)]
Fix example in documentation: control is no longer public.

git-svn-id: https://svn.dealii.org/trunk@23930 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDo not access the first element if the vector is empty.
bangerth [Thu, 7 Jul 2011 14:53:20 +0000 (14:53 +0000)]
Do not access the first element if the vector is empty.

git-svn-id: https://svn.dealii.org/trunk@23929 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDo not access the first element if the vector is empty.
bangerth [Thu, 7 Jul 2011 14:50:22 +0000 (14:50 +0000)]
Do not access the first element if the vector is empty.

git-svn-id: https://svn.dealii.org/trunk@23928 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdjust, not that count_dofs_per_component is available for a templated DoFHandler...
bangerth [Thu, 7 Jul 2011 14:46:31 +0000 (14:46 +0000)]
Adjust, not that count_dofs_per_component is available for a templated DoFHandler argument.

git-svn-id: https://svn.dealii.org/trunk@23927 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoMake compile also with MPI enabled.
bangerth [Thu, 7 Jul 2011 11:02:40 +0000 (11:02 +0000)]
Make compile also with MPI enabled.

git-svn-id: https://svn.dealii.org/trunk@23926 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoRename test and add a new one that verifies FECollection objects with more than one...
goll [Wed, 6 Jul 2011 16:31:11 +0000 (16:31 +0000)]
Rename test and add a new one that verifies FECollection objects with more than one element.

git-svn-id: https://svn.dealii.org/trunk@23925 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoImplement DoFTools::count_dofs_per_component also for hp::DoFhandler.
goll [Wed, 6 Jul 2011 16:14:35 +0000 (16:14 +0000)]
Implement DoFTools::count_dofs_per_component also for hp::DoFhandler.

git-svn-id: https://svn.dealii.org/trunk@23924 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoClose the ConstraintMatrix before use.
bangerth [Wed, 6 Jul 2011 10:52:37 +0000 (10:52 +0000)]
Close the ConstraintMatrix before use.

git-svn-id: https://svn.dealii.org/trunk@23923 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoTemporarily increase timeout after using the libstdc++ debug mode. I don't
bangerth [Wed, 6 Jul 2011 09:43:50 +0000 (09:43 +0000)]
Temporarily increase timeout after using the libstdc++ debug mode. I don't
want to keep this bigger timeout long term but I'd like to see in the
testsuite runs which tests are genuine failures and which are just caused by
longer runtimes.

git-svn-id: https://svn.dealii.org/trunk@23922 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoClose the constraint matrix.
bangerth [Wed, 6 Jul 2011 07:45:06 +0000 (07:45 +0000)]
Close the constraint matrix.

git-svn-id: https://svn.dealii.org/trunk@23921 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd an assertion without which we probably compute garbage.
bangerth [Wed, 6 Jul 2011 07:44:02 +0000 (07:44 +0000)]
Add an assertion without which we probably compute garbage.

git-svn-id: https://svn.dealii.org/trunk@23920 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agostart fixing FE_Face
kanschat [Tue, 5 Jul 2011 19:38:30 +0000 (19:38 +0000)]
start fixing FE_Face

git-svn-id: https://svn.dealii.org/trunk@23919 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDon't access an element of an array if the array has size zero.
bangerth [Mon, 4 Jul 2011 20:38:13 +0000 (20:38 +0000)]
Don't access an element of an array if the array has size zero.

git-svn-id: https://svn.dealii.org/trunk@23918 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAllow calling join() on a thread object more than once.
bangerth [Mon, 4 Jul 2011 16:38:59 +0000 (16:38 +0000)]
Allow calling join() on a thread object more than once.

git-svn-id: https://svn.dealii.org/trunk@23917 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAvoid accessing element past the end.
bangerth [Mon, 4 Jul 2011 16:32:09 +0000 (16:32 +0000)]
Avoid accessing element past the end.

git-svn-id: https://svn.dealii.org/trunk@23916 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoRemove the test that we produce an exception for invalid accesses. This can't be...
bangerth [Sun, 3 Jul 2011 03:12:53 +0000 (03:12 +0000)]
Remove the test that we produce an exception for invalid accesses. This can't be tested in any reasonable way since in the testsuite we continue running tests even after exceptions, which then triggers an out-of-bounds access and a failure of the test in the debug version of libstdc++.

git-svn-id: https://svn.dealii.org/trunk@23915 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoMake work again.
bangerth [Sat, 2 Jul 2011 22:34:58 +0000 (22:34 +0000)]
Make work again.

git-svn-id: https://svn.dealii.org/trunk@23914 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix non-sensical placement of a join_all statement.
bangerth [Sat, 2 Jul 2011 21:34:53 +0000 (21:34 +0000)]
Fix non-sensical placement of a join_all statement.

git-svn-id: https://svn.dealii.org/trunk@23913 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoEnsure that a thread can indeed be joined. This doesn't always appear
bangerth [Fri, 1 Jul 2011 19:05:54 +0000 (19:05 +0000)]
Ensure that a thread can indeed be joined. This doesn't always appear
to be the case, and a friendly assertion is better than a hard
exception that is thrown from the OS and doesn't contain much information.

git-svn-id: https://svn.dealii.org/trunk@23912 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd to module Integrators
kanschat [Fri, 1 Jul 2011 16:30:45 +0000 (16:30 +0000)]
Add to module Integrators

git-svn-id: https://svn.dealii.org/trunk@23911 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd Threads::Thread::valid.
bangerth [Fri, 1 Jul 2011 15:39:58 +0000 (15:39 +0000)]
Add Threads::Thread::valid.

git-svn-id: https://svn.dealii.org/trunk@23910 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd Threads::Thread::valid.
bangerth [Fri, 1 Jul 2011 15:39:42 +0000 (15:39 +0000)]
Add Threads::Thread::valid.

git-svn-id: https://svn.dealii.org/trunk@23909 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix typos.
bangerth [Fri, 1 Jul 2011 15:13:15 +0000 (15:13 +0000)]
Fix typos.

git-svn-id: https://svn.dealii.org/trunk@23908 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix typos.
bangerth [Fri, 1 Jul 2011 15:03:57 +0000 (15:03 +0000)]
Fix typos.

git-svn-id: https://svn.dealii.org/trunk@23907 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDon't write stuff into a big file that we're never going to read again. It's also...
bangerth [Fri, 1 Jul 2011 14:59:13 +0000 (14:59 +0000)]
Don't write stuff into a big file that we're never going to read again. It's also not safe in the presence of having the same tests run multiple times at the same time with parallel make, since multiple tests may write to the same file.

git-svn-id: https://svn.dealii.org/trunk@23906 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUpdate after the change to computing no_normal_flux.
bangerth [Fri, 1 Jul 2011 14:48:58 +0000 (14:48 +0000)]
Update after the change to computing no_normal_flux.

git-svn-id: https://svn.dealii.org/trunk@23905 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAvoid accessing invalid elements of an array.
bangerth [Fri, 1 Jul 2011 14:36:09 +0000 (14:36 +0000)]
Avoid accessing invalid elements of an array.

git-svn-id: https://svn.dealii.org/trunk@23904 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUndo last change and document why the code that looked dead was in fact useful.
bangerth [Fri, 1 Jul 2011 14:06:18 +0000 (14:06 +0000)]
Undo last change and document why the code that looked dead was in fact useful.

git-svn-id: https://svn.dealii.org/trunk@23903 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAvoid accessing elements past the end.
bangerth [Fri, 1 Jul 2011 03:36:17 +0000 (03:36 +0000)]
Avoid accessing elements past the end.

git-svn-id: https://svn.dealii.org/trunk@23902 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix a problem where we access an element past the end of the array because we
bangerth [Fri, 1 Jul 2011 03:10:05 +0000 (03:10 +0000)]
Fix a problem where we access an element past the end of the array because we
call a function recursively and accidentally step on our own foot.

git-svn-id: https://svn.dealii.org/trunk@23901 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoremove unused variable
kanschat [Fri, 1 Jul 2011 02:37:39 +0000 (02:37 +0000)]
remove unused variable

git-svn-id: https://svn.dealii.org/trunk@23900 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoReplace wrong loop bounds
kanschat [Fri, 1 Jul 2011 02:14:01 +0000 (02:14 +0000)]
Replace wrong loop bounds

git-svn-id: https://svn.dealii.org/trunk@23899 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoOK, that didn't work :-(
bangerth [Fri, 1 Jul 2011 00:27:42 +0000 (00:27 +0000)]
OK, that didn't work :-(

git-svn-id: https://svn.dealii.org/trunk@23898 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUse a better way to copy stuff.
bangerth [Fri, 1 Jul 2011 00:24:05 +0000 (00:24 +0000)]
Use a better way to copy stuff.

git-svn-id: https://svn.dealii.org/trunk@23897 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoOnly access elements of a vector if it is not empty.
bangerth [Fri, 1 Jul 2011 00:14:00 +0000 (00:14 +0000)]
Only access elements of a vector if it is not empty.

git-svn-id: https://svn.dealii.org/trunk@23896 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDo not access the element-past-the-end of a vector.
bangerth [Fri, 1 Jul 2011 00:03:09 +0000 (00:03 +0000)]
Do not access the element-past-the-end of a vector.

git-svn-id: https://svn.dealii.org/trunk@23895 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUse a more robust version of denoting the null pointer in this context.
bangerth [Thu, 30 Jun 2011 23:53:43 +0000 (23:53 +0000)]
Use a more robust version of denoting the null pointer in this context.

git-svn-id: https://svn.dealii.org/trunk@23894 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoBe more careful accessing the data array of a Table object if said Table
bangerth [Thu, 30 Jun 2011 23:47:29 +0000 (23:47 +0000)]
Be more careful accessing the data array of a Table object if said Table
object is empty. Also add an assertion in one other place.

git-svn-id: https://svn.dealii.org/trunk@23893 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoCompare iterators from the same container.
bangerth [Thu, 30 Jun 2011 23:05:51 +0000 (23:05 +0000)]
Compare iterators from the same container.

git-svn-id: https://svn.dealii.org/trunk@23892 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix another such place.
bangerth [Thu, 30 Jun 2011 23:00:25 +0000 (23:00 +0000)]
Fix another such place.

git-svn-id: https://svn.dealii.org/trunk@23891 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDon't compute stuff we never use. In particular, don't create variables then
bangerth [Thu, 30 Jun 2011 21:14:12 +0000 (21:14 +0000)]
Don't compute stuff we never use. In particular, don't create variables then
access beyond their end.

git-svn-id: https://svn.dealii.org/trunk@23890 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoCompute the size of a std::vector without dereferencing the end iterator.
bangerth [Thu, 30 Jun 2011 21:11:42 +0000 (21:11 +0000)]
Compute the size of a std::vector without dereferencing the end iterator.

git-svn-id: https://svn.dealii.org/trunk@23889 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoOnly define preprocessor symbol if not already defined.
bangerth [Thu, 30 Jun 2011 21:04:40 +0000 (21:04 +0000)]
Only define preprocessor symbol if not already defined.

git-svn-id: https://svn.dealii.org/trunk@23888 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoVerify that the output that changed with yesterday's fix is correct.
bangerth [Thu, 30 Jun 2011 12:20:15 +0000 (12:20 +0000)]
Verify that the output that changed with yesterday's fix is correct.

git-svn-id: https://svn.dealii.org/trunk@23887 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoReplace two naked 'throw ExcInternalError()' by the corresponding AssertThrow so...
bangerth [Thu, 30 Jun 2011 00:01:47 +0000 (00:01 +0000)]
Replace two naked 'throw ExcInternalError()' by the corresponding AssertThrow so that we get location information printed in the output.

git-svn-id: https://svn.dealii.org/trunk@23886 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUse proper syntax in compile test.
bangerth [Wed, 29 Jun 2011 23:49:41 +0000 (23:49 +0000)]
Use proper syntax in compile test.

git-svn-id: https://svn.dealii.org/trunk@23885 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoWork around an awkward problem: when using mappings of degree 4, we have enough round...
bangerth [Wed, 29 Jun 2011 23:37:05 +0000 (23:37 +0000)]
Work around an awkward problem: when using mappings of degree 4, we have enough roundoff accumulating that we get into trouble with constraints that are cyclic. Fix this by introducing a normalization step in the computation of normal vectors when sorting out normal fluxes.

git-svn-id: https://svn.dealii.org/trunk@23884 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoDetect common problem with Sacado_cmath.hpp and link to a solution.
bangerth [Wed, 29 Jun 2011 22:18:11 +0000 (22:18 +0000)]
Detect common problem with Sacado_cmath.hpp and link to a solution.

git-svn-id: https://svn.dealii.org/trunk@23883 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoUpdate one.
bangerth [Wed, 29 Jun 2011 21:16:44 +0000 (21:16 +0000)]
Update one.

git-svn-id: https://svn.dealii.org/trunk@23882 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoBetter doxygen markup.
bangerth [Wed, 29 Jun 2011 20:09:50 +0000 (20:09 +0000)]
Better doxygen markup.

git-svn-id: https://svn.dealii.org/trunk@23881 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAdd a note to a comment.
bangerth [Wed, 29 Jun 2011 18:22:18 +0000 (18:22 +0000)]
Add a note to a comment.

git-svn-id: https://svn.dealii.org/trunk@23880 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoOnly the 3d case is affected.
bangerth [Wed, 29 Jun 2011 18:14:25 +0000 (18:14 +0000)]
Only the 3d case is affected.

git-svn-id: https://svn.dealii.org/trunk@23879 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoReduce test to the minimum.
bangerth [Wed, 29 Jun 2011 17:17:08 +0000 (17:17 +0000)]
Reduce test to the minimum.

git-svn-id: https://svn.dealii.org/trunk@23878 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAuto-detect the Trilinos sub-libs we need to link with and their order.
bangerth [Wed, 29 Jun 2011 17:04:32 +0000 (17:04 +0000)]
Auto-detect the Trilinos sub-libs we need to link with and their order.

git-svn-id: https://svn.dealii.org/trunk@23877 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoremove obsolete keyword
kanschat [Tue, 28 Jun 2011 18:21:51 +0000 (18:21 +0000)]
remove obsolete keyword

git-svn-id: https://svn.dealii.org/trunk@23876 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoHeader
kanschat [Tue, 28 Jun 2011 18:17:53 +0000 (18:17 +0000)]
Header

git-svn-id: https://svn.dealii.org/trunk@23875 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoAugment documentation. Add a guarantee about the first shape function that is also...
bangerth [Tue, 28 Jun 2011 03:37:38 +0000 (03:37 +0000)]
Augment documentation. Add a guarantee about the first shape function that is also tested in the new fe/dgp_01 testcase.

git-svn-id: https://svn.dealii.org/trunk@23874 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoNew test.
bangerth [Tue, 28 Jun 2011 03:21:07 +0000 (03:21 +0000)]
New test.

git-svn-id: https://svn.dealii.org/trunk@23873 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoWork around compiler warnings in boost library.
kronbichler [Mon, 27 Jun 2011 17:34:23 +0000 (17:34 +0000)]
Work around compiler warnings in boost library.

git-svn-id: https://svn.dealii.org/trunk@23872 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix memory consumption of std::vector<T> with more than 4G.
kronbichler [Mon, 27 Jun 2011 16:34:39 +0000 (16:34 +0000)]
Fix memory consumption of std::vector<T> with more than 4G.

git-svn-id: https://svn.dealii.org/trunk@23871 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoFix typo in documentation.
kronbichler [Mon, 27 Jun 2011 16:33:52 +0000 (16:33 +0000)]
Fix typo in documentation.

git-svn-id: https://svn.dealii.org/trunk@23870 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoOmit unused variables.
kronbichler [Mon, 27 Jun 2011 16:33:32 +0000 (16:33 +0000)]
Omit unused variables.

git-svn-id: https://svn.dealii.org/trunk@23869 0785d39b-7218-0410-832d-ea1e28bc413d

13 years agoTest ConstraintMatrix::merge() for constraint matrices localized by an IndexSet ...
kronbichler [Mon, 27 Jun 2011 16:32:10 +0000 (16:32 +0000)]
Test ConstraintMatrix::merge() for constraint matrices localized by an IndexSet (same IndexSet on both CM).

git-svn-id: https://svn.dealii.org/trunk@23868 0785d39b-7218-0410-832d-ea1e28bc413d


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.