Commit 836978e9 by Praetorius, Simon

### removed all trailing whitespaces in all git files

parent 5f0ca3b5
 // Software License for MTL // // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and Andrew Lumsdaine // // // This file is part of the Matrix Template Library // // // See also license.mtl.txt in the distribution. // // Algorithm inspired by Nick Vannieuwenhoven, written by Cornelius Steinhardt ... ... @@ -88,7 +88,7 @@ public: } /// Destructor ~imf_preconditioner() ~imf_preconditioner() { delete[] m_diagonal_index; delete[] m_diagonal; ... ... @@ -102,7 +102,7 @@ private: /// Constructs the IMF preconditioner.Forward declaration template< class ElementStructure > void factor(const ElementStructure&, const int); void factor(const ElementStructure&, const int); public: ... ... @@ -115,13 +115,13 @@ public: /// Applies the preconditioner to the given matrix. template void solve(const VectorIn& b, VectorOut& x) const void solve(const VectorIn& b, VectorOut& x) const { VectorIn m(trans(P)*b), m_tmp(imf_apply(m)); x= P * m_tmp; } } private: private: /// Applies the preconditioner prototype template< class Vector > Vector imf_apply(const Vector&) const; ... ... @@ -140,7 +140,7 @@ private: /// The number of levels (equals the number of entries in the diagonal index array minus one). int m_levels; /** The index array for the matrices on the block diagonal. The i^th entry * indicates where the i^th level of block diagonal matrices starts in the * right hand side vector. */ ... ... @@ -156,7 +156,7 @@ private: upper_matrix_coll_type m_upper; }; /// Solve /// Solve template solver, Vector, false> inline solve(const imf_preconditioner& P, const Vector& b) ... ...
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
 /* * Marcel Schiffel, 13.10.11 * * * definition of default relaxation parameter for iterative solvers */ ... ...
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!