]> https://gitweb.dealii.org/ - dealii.git/log
dealii.git
8 years agoMerge pull request #3468 from drwells/pvs-integration-info-initialize
Wolfgang Bangerth [Sat, 5 Nov 2016 03:55:35 +0000 (21:55 -0600)]
Merge pull request #3468 from drwells/pvs-integration-info-initialize

Initialize an IntegrationInfo field.

8 years agoInitialize an IntegrationInfo field. 3468/head
David Wells [Sat, 5 Nov 2016 02:24:39 +0000 (22:24 -0400)]
Initialize an IntegrationInfo field.

This number is correctly filled by IntegrationInfo::initialize, but this
way it starts out with a bogus value (instead of an undefined one).

8 years agoMerge pull request #3462 from bangerth/rename-variables-2
David Wells [Sat, 5 Nov 2016 02:11:06 +0000 (22:11 -0400)]
Merge pull request #3462 from bangerth/rename-variables-2

Rename some variables.

8 years agoMerge pull request #3463 from bangerth/rename-variables-3
David Wells [Sat, 5 Nov 2016 01:40:58 +0000 (21:40 -0400)]
Merge pull request #3463 from bangerth/rename-variables-3

Rename some variables.

8 years agoMerge pull request #3464 from bangerth/rename-functions-and-variables
David Wells [Sat, 5 Nov 2016 00:43:58 +0000 (20:43 -0400)]
Merge pull request #3464 from bangerth/rename-functions-and-variables

Rename local variables with names equal to members of the base class.

8 years agoMerge pull request #3465 from bangerth/clarify-code
David Wells [Fri, 4 Nov 2016 23:58:32 +0000 (19:58 -0400)]
Merge pull request #3465 from bangerth/clarify-code

Clarify the intent of a piece of code.

8 years agoMerge pull request #3466 from bangerth/initialize-variable-5
David Wells [Fri, 4 Nov 2016 23:21:07 +0000 (19:21 -0400)]
Merge pull request #3466 from bangerth/initialize-variable-5

Initialize a member variable of LogStream.

8 years agoMerge pull request #3467 from bangerth/initialize-variable-6
Martin Kronbichler [Fri, 4 Nov 2016 22:25:06 +0000 (23:25 +0100)]
Merge pull request #3467 from bangerth/initialize-variable-6

Initialize member variables.

8 years agoMerge pull request #3459 from bangerth/rename-arguments
David Wells [Fri, 4 Nov 2016 22:24:03 +0000 (18:24 -0400)]
Merge pull request #3459 from bangerth/rename-arguments

Rename function arguments.

8 years agoMerge pull request #3458 from bangerth/rename-variables
David Wells [Fri, 4 Nov 2016 22:13:41 +0000 (18:13 -0400)]
Merge pull request #3458 from bangerth/rename-variables

Rename some variables.

8 years agoInitialize member variables. 3467/head
Wolfgang Bangerth [Fri, 4 Nov 2016 20:38:24 +0000 (14:38 -0600)]
Initialize member variables.

8 years agoInitialize a member variable of LogStream. 3466/head
Wolfgang Bangerth [Fri, 4 Nov 2016 20:35:12 +0000 (14:35 -0600)]
Initialize a member variable of LogStream.

The variable really was never initialized, even though some
output depended on it. I suspect that it just happened to always
be initialized to 'false'. Make this explicit.

8 years agoClarify the intent of a piece of code. 3465/head
Wolfgang Bangerth [Fri, 4 Nov 2016 20:31:09 +0000 (14:31 -0600)]
Clarify the intent of a piece of code.

The code uses integer division, followed by a double precision multiplication.
It is admittedly not immediately obvious what it is supposed to do. Clarify
that we really mean the integer division.

8 years agoRename local variables with names equal to members of the base class. 3464/head
Wolfgang Bangerth [Fri, 4 Nov 2016 20:22:25 +0000 (14:22 -0600)]
Rename local variables with names equal to members of the base class.

This is certainly confusing.

While there, notice that the functions that *compute* quadrature points
and weights are called 'set_*', but are 'const'. That makes no sense.
In fact, they just compute and return these values, so call them
'get_*' instead.

8 years agoRename some variables. 3463/head
Wolfgang Bangerth [Fri, 4 Nov 2016 20:16:13 +0000 (14:16 -0600)]
Rename some variables.

There are variables of the same name in the base class. Avoid the
confusion of having similarly named variables in the local scope.

8 years agoRename some variables. 3462/head
Wolfgang Bangerth [Fri, 4 Nov 2016 20:14:13 +0000 (14:14 -0600)]
Rename some variables.

There are variables of the same name in the base class. Avoid the
confusion of having similarly named variables in the local scope.

8 years agoMerge pull request #3450 from bangerth/fix-warning
Matthias Maier [Fri, 4 Nov 2016 18:44:42 +0000 (13:44 -0500)]
Merge pull request #3450 from bangerth/fix-warning

No need for double parentheses.

8 years agoMerge pull request #3446 from bangerth/fix-DataOutRotation-build_one_patch
Matthias Maier [Fri, 4 Nov 2016 18:44:28 +0000 (13:44 -0500)]
Merge pull request #3446 from bangerth/fix-DataOutRotation-build_one_patch

Rename a function argument.

8 years agoMerge pull request #3453 from bangerth/initialize-variables-4
Matthias Maier [Fri, 4 Nov 2016 18:43:24 +0000 (13:43 -0500)]
Merge pull request #3453 from bangerth/initialize-variables-4

Initialize member variables.

8 years agoMerge pull request #3338 from kalj/check-for-compute-capability
Matthias Maier [Fri, 4 Nov 2016 18:41:03 +0000 (13:41 -0500)]
Merge pull request #3338 from kalj/check-for-compute-capability

Check for compute capability

8 years agoMerge pull request #3461 from kalj/patch-1
Denis Davydov [Fri, 4 Nov 2016 18:34:42 +0000 (19:34 +0100)]
Merge pull request #3461 from kalj/patch-1

Use a single if block

8 years agoUse a single if block 3461/head
Karl Ljungkvist [Fri, 4 Nov 2016 18:30:45 +0000 (19:30 +0100)]
Use a single if block

Fix warning from PVS about two if blocks with identical condition. Fixes #3369.

8 years agoRename function arguments. 3459/head
Wolfgang Bangerth [Fri, 4 Nov 2016 16:49:55 +0000 (10:49 -0600)]
Rename function arguments.

The Nedelec class used 'degree' in a few places, but it was
really the 'order' of the element. The polynomial degree as
used in the base class is 'order+1'.

8 years agoRename some variables. 3458/head
Wolfgang Bangerth [Fri, 4 Nov 2016 16:48:16 +0000 (10:48 -0600)]
Rename some variables.

There are variables of the same name in the base class. Avoid the
confusion of having similarly named variables in the local scope.

8 years agoMerge pull request #3455 from masterleinad/fix_parpack_test
Daniel Arndt [Fri, 4 Nov 2016 16:24:42 +0000 (17:24 +0100)]
Merge pull request #3455 from masterleinad/fix_parpack_test

Fix parpack test

8 years agoMerge pull request #3448 from davydden/matrix_free_Laplace_GMG_unit_test
Timo Heister [Fri, 4 Nov 2016 14:38:20 +0000 (10:38 -0400)]
Merge pull request #3448 from davydden/matrix_free_Laplace_GMG_unit_test

add another matrix-free laplace GMG unit test

8 years agoMerge pull request #3449 from drwells/pvs-timer-initialization
Daniel Arndt [Fri, 4 Nov 2016 14:13:24 +0000 (15:13 +0100)]
Merge pull request #3449 from drwells/pvs-timer-initialization

Add some missing initializations to Timer.

8 years agoFix parpack test 3455/head
Daniel Arndt [Fri, 4 Nov 2016 13:57:06 +0000 (14:57 +0100)]
Fix parpack test

8 years agoInitialize member variables. 3453/head
Wolfgang Bangerth [Fri, 4 Nov 2016 13:43:55 +0000 (07:43 -0600)]
Initialize member variables.

8 years agoMerge pull request #3452 from bangerth/initialize-variables
Denis Davydov [Fri, 4 Nov 2016 13:43:51 +0000 (14:43 +0100)]
Merge pull request #3452 from bangerth/initialize-variables

Initialize member variables.

8 years agoInitialize member variables. 3452/head
Wolfgang Bangerth [Fri, 4 Nov 2016 13:40:28 +0000 (07:40 -0600)]
Initialize member variables.

8 years agoRename a function argument. 3446/head
Wolfgang Bangerth [Thu, 3 Nov 2016 22:53:45 +0000 (16:53 -0600)]
Rename a function argument.

DataOutRotation::build_one_patch took a variable named 'patches',
but unlike in #3445, it is not a reference to the class's member
variable of the same name. Rather, it is an array this function
needs to fill in, and nobody else sees it. Consequently,
rename it 'my_patches'.

While there, also update the documentation, which is no longer
in agreement with the implementation.

8 years agoNo need for double parentheses. 3450/head
Wolfgang Bangerth [Fri, 4 Nov 2016 13:13:41 +0000 (07:13 -0600)]
No need for double parentheses.

8 years agodo not require Trilinos for matrix_free tests which do not use it 3448/head
Denis Davydov [Fri, 4 Nov 2016 11:52:32 +0000 (12:52 +0100)]
do not require Trilinos for matrix_free tests which do not use it

8 years agoadd another matrix-free laplace GMG unit test
Denis Davydov [Fri, 4 Nov 2016 11:47:14 +0000 (12:47 +0100)]
add another matrix-free laplace GMG unit test

8 years agoAdd some missing initializations to Timer. 3449/head
David Wells [Fri, 4 Nov 2016 11:22:56 +0000 (07:22 -0400)]
Add some missing initializations to Timer.

Some of these were caught by PVS studio.

8 years agoMerge pull request #3445 from bangerth/dont-duplicate-variable
David Wells [Fri, 4 Nov 2016 10:55:24 +0000 (06:55 -0400)]
Merge pull request #3445 from bangerth/dont-duplicate-variable

Let DataOut::build_one_patch use a member variable.

8 years agoMerge pull request #3444 from class4kayaker/static_fix
David Wells [Fri, 4 Nov 2016 10:49:41 +0000 (06:49 -0400)]
Merge pull request #3444 from class4kayaker/static_fix

Fix FE_QHier static analysis warning

8 years agoMerge pull request #3434 from bangerth/initialize-member-variable
Wolfgang Bangerth [Fri, 4 Nov 2016 00:52:22 +0000 (18:52 -0600)]
Merge pull request #3434 from bangerth/initialize-member-variable

Initialize a member variable.

8 years agoMerge pull request #3435 from bangerth/initialize-member-variable-2
David Wells [Thu, 3 Nov 2016 23:17:58 +0000 (19:17 -0400)]
Merge pull request #3435 from bangerth/initialize-member-variable-2

Initialize member variables to invalid values.

8 years agoLet DataOut::build_one_patch use a member variable. 3445/head
Wolfgang Bangerth [Thu, 3 Nov 2016 22:34:08 +0000 (16:34 -0600)]
Let DataOut::build_one_patch use a member variable.

Currently, it takes a reference to a variable as argument, but this variable
is a member variable of the class to which it has access. That's duplicative.
To make things even more confusing, the local variable and the member
are named the same.

Fix this by just not taking the reference as argument, and directly
accessing the member of the class.

8 years agoMerge pull request #3439 from bangerth/simplify-computation
Wolfgang Bangerth [Thu, 3 Nov 2016 22:31:17 +0000 (16:31 -0600)]
Merge pull request #3439 from bangerth/simplify-computation

Simplify an initialization.

8 years agoMerge pull request #3437 from bangerth/be-careful-with-streams
Wolfgang Bangerth [Thu, 3 Nov 2016 22:31:07 +0000 (16:31 -0600)]
Merge pull request #3437 from bangerth/be-careful-with-streams

Be more careful with streams.

8 years agoMerge pull request #3436 from bangerth/avoid-pointless-condition
Wolfgang Bangerth [Thu, 3 Nov 2016 22:30:59 +0000 (16:30 -0600)]
Merge pull request #3436 from bangerth/avoid-pointless-condition

Avoid a pointless comparison.

8 years agoFix FE_QHier static analysis warning 3444/head
Jonathan Robey [Thu, 3 Nov 2016 21:26:55 +0000 (14:26 -0700)]
Fix FE_QHier static analysis warning

Fix to #3406

8 years agoMerge pull request #3442 from Rombur/add-assertthrow
Denis Davydov [Thu, 3 Nov 2016 20:42:02 +0000 (21:42 +0100)]
Merge pull request #3442 from Rombur/add-assertthrow

Add a forgotten assert.

8 years agoAdd a forgotten assert. 3442/head
Bruno Turcksin [Thu, 3 Nov 2016 20:39:39 +0000 (16:39 -0400)]
Add a forgotten assert.

8 years agoMerge pull request #3441 from bangerth/initialize-variables-2
Bruno Turcksin [Thu, 3 Nov 2016 20:32:51 +0000 (16:32 -0400)]
Merge pull request #3441 from bangerth/initialize-variables-2

Initialize a member variable to invalid values.

8 years agoMerge pull request #3431 from bangerth/make-variable-names-uniform
David Wells [Thu, 3 Nov 2016 20:10:06 +0000 (16:10 -0400)]
Merge pull request #3431 from bangerth/make-variable-names-uniform

Make variable names uniform.

8 years agoMerge pull request #3432 from bangerth/fix-blockvectorbase-memory_consumption
Daniel Arndt [Thu, 3 Nov 2016 18:47:22 +0000 (19:47 +0100)]
Merge pull request #3432 from bangerth/fix-blockvectorbase-memory_consumption

Fix BlockVectorBase::memory_consumption.

8 years agoInitialize a member variable to invalid values. 3441/head
Wolfgang Bangerth [Thu, 3 Nov 2016 18:16:56 +0000 (12:16 -0600)]
Initialize a member variable to invalid values.

8 years agoSimplify an initialization. 3439/head
Wolfgang Bangerth [Thu, 3 Nov 2016 17:58:48 +0000 (11:58 -0600)]
Simplify an initialization.

8 years agoBe more careful with streams. 3437/head
Wolfgang Bangerth [Thu, 3 Nov 2016 17:56:41 +0000 (11:56 -0600)]
Be more careful with streams.

In particular, stop also if in.fail() is true, not just if in.eof() is true.
I suspect that it matters little in practice, but who knows.

8 years agoAvoid a pointless comparison. 3436/head
Wolfgang Bangerth [Thu, 3 Nov 2016 17:55:03 +0000 (11:55 -0600)]
Avoid a pointless comparison.

The function works in 3d, so checking for 'dim>1' makes no difference.

8 years agoInitialize member variables to invalid values. 3435/head
Wolfgang Bangerth [Thu, 3 Nov 2016 17:45:24 +0000 (11:45 -0600)]
Initialize member variables to invalid values.

8 years agoInitialize a member variable. 3434/head
Wolfgang Bangerth [Thu, 3 Nov 2016 17:43:38 +0000 (11:43 -0600)]
Initialize a member variable.

8 years agoMerge pull request #3433 from bangerth/fix-DataOut-memory_consumption
Timo Heister [Thu, 3 Nov 2016 17:32:14 +0000 (13:32 -0400)]
Merge pull request #3433 from bangerth/fix-DataOut-memory_consumption

Update memory consumption output.

8 years agoMerge pull request #3394 from drwells/pvs-function-lib-warnings
Wolfgang Bangerth [Thu, 3 Nov 2016 17:18:28 +0000 (11:18 -0600)]
Merge pull request #3394 from drwells/pvs-function-lib-warnings

Silence a PVS studio warning about repeated code.

8 years agoMerge pull request #3395 from drwells/pvs-timestep-uninitialized-warning
Wolfgang Bangerth [Thu, 3 Nov 2016 17:18:10 +0000 (11:18 -0600)]
Merge pull request #3395 from drwells/pvs-timestep-uninitialized-warning

Fix an member initialization PVS studio warning.

8 years agoUpdate memory consumption output. 3433/head
Wolfgang Bangerth [Thu, 3 Nov 2016 16:58:55 +0000 (11:58 -0500)]
Update memory consumption output.

Apparently, #3333 adds 96 bytes to the memory required by DataOut.

8 years agoFix BlockVectorBase::memory_consumption. 3432/head
Wolfgang Bangerth [Thu, 3 Nov 2016 16:57:28 +0000 (11:57 -0500)]
Fix BlockVectorBase::memory_consumption.

The existing implementation forgot to add the memory required for
the std::vector of blocks, it only added the memory required for
the blocks themselves. It turns out that fixing this also allows
to simplify the code significantly.

8 years agoMake variable names uniform. 3431/head
Wolfgang Bangerth [Thu, 3 Nov 2016 16:39:47 +0000 (10:39 -0600)]
Make variable names uniform.

Specifically, in DataPostprocessor-derived classes in the tutorial programs,
use the names of function arguments that we also use in DataPostprocessor.

8 years agoMerge pull request #3430 from bangerth/rename-local-variables
Denis Davydov [Thu, 3 Nov 2016 16:34:23 +0000 (17:34 +0100)]
Merge pull request #3430 from bangerth/rename-local-variables

Rename local variables.

8 years agoRename local variables. 3430/head
Wolfgang Bangerth [Thu, 3 Nov 2016 16:32:28 +0000 (10:32 -0600)]
Rename local variables.

Instead of uh, duh, dduh, use standard names for variables.

8 years agoMerge pull request #3393 from davydden/mf_mass_n_q_points_1d
Denis Davydov [Thu, 3 Nov 2016 16:19:37 +0000 (17:19 +0100)]
Merge pull request #3393 from davydden/mf_mass_n_q_points_1d

add n_q_points_1d template argument to MatrixFreeOperators::MassOperator

8 years agoMerge pull request #3391 from davydden/mf_base_diag_fixes
Martin Kronbichler [Thu, 3 Nov 2016 14:29:08 +0000 (15:29 +0100)]
Merge pull request #3391 from davydden/mf_base_diag_fixes

fix matrix-free unit tests due to a change to DiagonalMatrix in Base …

8 years agoMerge pull request #3428 from bangerth/remove-accidental-files
Bruno Turcksin [Thu, 3 Nov 2016 14:18:37 +0000 (10:18 -0400)]
Merge pull request #3428 from bangerth/remove-accidental-files

Remove accidentally added files.

8 years agoRemove accidentally added files. 3428/head
Wolfgang Bangerth [Thu, 3 Nov 2016 14:16:35 +0000 (08:16 -0600)]
Remove accidentally added files.

8 years agoFix an member initialization PVS studio warning. 3395/head
David Wells [Thu, 3 Nov 2016 13:51:07 +0000 (09:51 -0400)]
Fix an member initialization PVS studio warning.

The variable is now initialized with the same logic used in the
'restart' function.

8 years agouse fe_degree+2 quadrature points in matrix_free/mass_operator_0x 3393/head
Denis Davydov [Thu, 3 Nov 2016 13:54:34 +0000 (14:54 +0100)]
use fe_degree+2 quadrature points in matrix_free/mass_operator_0x

8 years agoSilence a PVS studio warning about repeated code. 3394/head
David Wells [Thu, 3 Nov 2016 13:13:32 +0000 (09:13 -0400)]
Silence a PVS studio warning about repeated code.

What we had is correct, but this patch should fix the warning (and make
a little less work for the optimizer).

8 years agoadd n_q_points_1d template argument to MatrixFreeOperators::MassOperator
Denis Davydov [Thu, 3 Nov 2016 13:01:40 +0000 (14:01 +0100)]
add n_q_points_1d template argument to MatrixFreeOperators::MassOperator

the rationale is support different usage cases. Say, when projecting
a function one would use fe_degree+2. However when projecting the
MatrixFree quadrature data given by Table<>, most often this data
corresponds to fe_degree+1. So while being given a MatrixFree data
object, we use it even though the mass matrix could be slightly
under-integrated.

8 years agofix matrix-free unit tests due to a change to DiagonalMatrix in Base class 3391/head
Denis Davydov [Thu, 3 Nov 2016 07:48:13 +0000 (08:48 +0100)]
fix matrix-free unit tests due to a change to DiagonalMatrix in Base class

while here, also use LaplaceOperator and add a few missing typedefs.

8 years agoimprove error output 3338/head
Karl Ljungkvist [Wed, 2 Nov 2016 07:35:04 +0000 (08:35 +0100)]
improve error output

8 years agoMerge pull request #3387 from bangerth/rename-variables
Denis Davydov [Thu, 3 Nov 2016 06:43:55 +0000 (07:43 +0100)]
Merge pull request #3387 from bangerth/rename-variables

Rename local variables.

8 years agoMerge pull request #3385 from bangerth/initialize-variable-2
Denis Davydov [Thu, 3 Nov 2016 06:43:49 +0000 (07:43 +0100)]
Merge pull request #3385 from bangerth/initialize-variable-2

Initialize a member variable.

8 years agoMerge pull request #3384 from bangerth/initialize-variable
Denis Davydov [Thu, 3 Nov 2016 06:43:43 +0000 (07:43 +0100)]
Merge pull request #3384 from bangerth/initialize-variable

Initialize a member variable.

8 years agoMerge pull request #3390 from bangerth/fix-invalid-sizeof
Denis Davydov [Thu, 3 Nov 2016 05:27:21 +0000 (06:27 +0100)]
Merge pull request #3390 from bangerth/fix-invalid-sizeof

Fix a nonsensical use of sizeof().

8 years agoFix a nonsensical use of sizeof(). 3390/head
Wolfgang Bangerth [Thu, 3 Nov 2016 04:32:01 +0000 (23:32 -0500)]
Fix a nonsensical use of sizeof().

8 years agoMerge pull request #3386 from bangerth/initialize-variable-3
David Wells [Thu, 3 Nov 2016 02:50:00 +0000 (22:50 -0400)]
Merge pull request #3386 from bangerth/initialize-variable-3

Initialize a member variable.

8 years agoRename local variables. 3387/head
Wolfgang Bangerth [Thu, 3 Nov 2016 01:51:17 +0000 (19:51 -0600)]
Rename local variables.

The variables in question have the same name as a function argument, and
are only used in a local block. They may as well be renamed.

8 years agoInitialize a member variable. 3386/head
Wolfgang Bangerth [Thu, 3 Nov 2016 01:45:38 +0000 (19:45 -0600)]
Initialize a member variable.

Also add a piece to the documentation of a member function.

8 years agoInitialize a member variable. 3385/head
Wolfgang Bangerth [Thu, 3 Nov 2016 01:44:26 +0000 (19:44 -0600)]
Initialize a member variable.

8 years agoInitialize a member variable. 3384/head
Wolfgang Bangerth [Thu, 3 Nov 2016 01:27:13 +0000 (19:27 -0600)]
Initialize a member variable.

8 years agoMerge pull request #3383 from bangerth/remove-unused-variable
David Wells [Wed, 2 Nov 2016 23:23:51 +0000 (19:23 -0400)]
Merge pull request #3383 from bangerth/remove-unused-variable

Remove SolverCG::res2.

8 years agoMerge pull request #3381 from bangerth/remove-duplicate-variable
David Wells [Wed, 2 Nov 2016 22:37:14 +0000 (18:37 -0400)]
Merge pull request #3381 from bangerth/remove-duplicate-variable

Remove a duplicate variable.

8 years agoMerge pull request #3333 from bangerth/update-DataPostprocessor-inputs
Wolfgang Bangerth [Wed, 2 Nov 2016 22:28:21 +0000 (16:28 -0600)]
Merge pull request #3333 from bangerth/update-DataPostprocessor-inputs

Update the way DataPostprocessor receives its input.

8 years agoAdd changelog entry. 3333/head
Wolfgang Bangerth [Mon, 31 Oct 2016 22:10:06 +0000 (16:10 -0600)]
Add changelog entry.

8 years agoAdd a bunch of tests.
Wolfgang Bangerth [Mon, 31 Oct 2016 22:06:02 +0000 (16:06 -0600)]
Add a bunch of tests.

8 years agoUpdate the way DataPostprocessor receives its input.
Wolfgang Bangerth [Mon, 31 Oct 2016 21:37:19 +0000 (15:37 -0600)]
Update the way DataPostprocessor receives its input.

In the past, the two functions we use to postprocess data got lists of arguments
for the solution, its derivatives, the evaluation points, and normal vectors.
This is not flexible enough: We can not easily add other information that
we have needed in the past or that users have requested, such as a pointer
to the cell we're currently on, or the material-id of the cell.

Rather than adding each possible argument anyone may want to use
individually to the list of the postprocessor function arguments, we use
a technique here that has proven useful in ASPECT: the functions simply
take a reference to a structure that contains these individual pieces
of information. We can extend the members of these structures without
backward compatibility issues because the functions still get a
reference to the same structure, we just grow the structure
itself. Functions that never used the new members of the structure
will continue to work as they always did.

8 years agoRemove SolverCG::res2. 3383/head
Wolfgang Bangerth [Wed, 2 Nov 2016 21:30:09 +0000 (15:30 -0600)]
Remove SolverCG::res2.

This variable was only used inside the SolverCG::criterion() function that was
supposed to let derived classes overload when the solver terminates. But the
criterion() function was never called anywhere, so there is no point in
keeping it. Furthermore, the res2 variable it returns was never set. So
remove the whole shebang.

8 years agoMerge pull request #3382 from bangerth/initialize-member-variable
Denis Davydov [Wed, 2 Nov 2016 21:11:08 +0000 (22:11 +0100)]
Merge pull request #3382 from bangerth/initialize-member-variable

Initialize all member variables in a copy constructor.

8 years agoInitialize all member variables in a copy constructor. 3382/head
Wolfgang Bangerth [Wed, 2 Nov 2016 21:09:48 +0000 (15:09 -0600)]
Initialize all member variables in a copy constructor.

8 years agoRemove a duplicate variable. 3381/head
Wolfgang Bangerth [Wed, 2 Nov 2016 21:03:32 +0000 (15:03 -0600)]
Remove a duplicate variable.

The variable already exists in the base class Function. We don't need to
duplicate it in the class FEFieldFunction.

8 years agoMerge pull request #3341 from davydden/diagonal_matrix
Martin Kronbichler [Wed, 2 Nov 2016 20:39:19 +0000 (21:39 +0100)]
Merge pull request #3341 from davydden/diagonal_matrix

instantiate ConstraintMatrix::distribute_local_to_global() for Diagon…

8 years agoMerge pull request #3337 from kalj/cuda-default-off
Matthias Maier [Wed, 2 Nov 2016 19:59:15 +0000 (14:59 -0500)]
Merge pull request #3337 from kalj/cuda-default-off

Don't load cuda unless explicitly enabled

8 years agoinstantiate ConstraintMatrix::distribute_local_to_global() for DiagonalMatrix 3341/head
Denis Davydov [Wed, 2 Nov 2016 09:02:40 +0000 (10:02 +0100)]
instantiate ConstraintMatrix::distribute_local_to_global() for DiagonalMatrix

To that end, add a few missing functions to DiagonalMatrix and update
documentation.

8 years agoMerge pull request #3340 from davydden/mf_base_updates
Martin Kronbichler [Wed, 2 Nov 2016 18:54:18 +0000 (19:54 +0100)]
Merge pull request #3340 from davydden/mf_base_updates

use DiagonalMatrix in MatrixFreeOperators

8 years agouse DiagonalMatrix in MatrixFreeOperators::Base 3340/head
Denis Davydov [Wed, 2 Nov 2016 07:34:37 +0000 (08:34 +0100)]
use DiagonalMatrix in MatrixFreeOperators::Base

To that end add a few missing function to DiagonalMatrix and also
switch to Jacobi preconditioner in VectorTools::project() from
quadrature points.

8 years agoset default compute capability to 3.5, or check that something valid was specified
Karl Ljungkvist [Tue, 1 Nov 2016 16:01:00 +0000 (17:01 +0100)]
set default compute capability to 3.5, or check that something valid was specified


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.