Skip to content
Snippets Groups Projects
Commit ca09baae authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

SVN ignore some build tests.

Sort included headers and remove some empty lines from superlutest.cc and matrixmarkettest.cc.

[[Imported from SVN: r1567]]
parent 07315db3
No related branches found
No related tags found
No related merge requests found
......@@ -26,3 +26,8 @@ basearraytest
vbvectortest
matrixredisttest
matrixmarkettest
superluztest
testmat
testvec
superluctest
seqmatrixmarkettest
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#include "config.h"
#include <dune/istl/io.hh>
#include <dune/istl/bvector.hh>
#include <iterator>
#include <dune/common/fmatrix.hh>
#include <dune/common/fvector.hh>
#include <dune/common/float_cmp.hh>
#include <dune/istl/matrixmarket.hh>
#include <dune/istl/io.hh>
#include <dune/istl/bvector.hh>
#if HAVE_MPI
#include <dune/istl/paamg/test/anisotropic.hh>
#include "mpi.h"
#include <dune/istl/schwarz.hh>
#else
#include <dune/istl/operators.hh>
#include <laplacian.hh>
#include "laplacian.hh"
#endif
#include <dune/common/timer.hh>
#include <dune/istl/matrixmarket.hh>
#include <iterator>
int main(int argc, char** argv)
{
......@@ -52,7 +54,6 @@ int main(int argc, char** argv)
setupLaplacian(mat, N);
#endif
BVector bv(mat.N()), cv(mat.N());
typedef BVector::iterator VIter;
......@@ -80,7 +81,6 @@ int main(int argc, char** argv)
storeMatrixMarket(bv, std::string("testvec"));
#endif
BCRSMat mat1;
BVector bv1,cv1;
......
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#include "config.h"
#include <dune/istl/bvector.hh>
#include <dune/istl/operators.hh>
#include <complex>
#include <dune/common/fmatrix.hh>
#include <dune/common/fvector.hh>
#include <laplacian.hh>
#include <dune/common/timer.hh>
#include <dune/istl/bvector.hh>
#include <dune/istl/operators.hh>
#include <dune/istl/superlu.hh>
#include <complex>
#include "laplacian.hh"
#ifndef SUPERLU_NTYPE
#define SUPERLU_NTYPE 1
......@@ -22,19 +26,16 @@ typedef double FIELD_TYPE;
typedef float FIELD_TYPE;
#endif
#if SUPERLU_NTYPE==2
typedef std::complex<float> FIELD_TYPE;
#endif
#if SUPERLU_NTYPE>=3
typedef std::complex<double> FIELD_TYPE;
#endif
int main(int argc, char** argv)
{
const int BS=1;
std::size_t N=100;
......@@ -77,5 +78,4 @@ int main(int argc, char** argv)
std::cout<<"Defect reduction is "<<res.reduction<<std::endl;
solver1.apply(x,b, res);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment