Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer,
es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Die Konten der externen Nutzer:innen sind über den Reiter "Standard" erreichbar.
Die Administratoren


Dear Gitlab user,
it is now possible to log in to our service using the ZIH login/LDAP. The accounts of external users can be accessed via the "Standard" tab.
The administrators

PetscProblemStat.h 1.78 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
// ============================================================================
// ==                                                                        ==
// == AMDiS - Adaptive multidimensional simulations                          ==
// ==                                                                        ==
// ==  http://www.amdis-fem.org                                              ==
// ==                                                                        ==
// ============================================================================
//
// Software License for AMDiS
//
// Copyright (c) 2010 Dresden University of Technology 
// All rights reserved.
// Authors: Simon Vey, Thomas Witkowski et al.
//
// This file is part of AMDiS
//
// See also license.opensource.txt in the distribution.



/** \file PetscProblemStat.h */

#ifndef AMDIS_PETSC_PROBLEM_STAT_H
#define AMDIS_PETSC_PROBLEM_STAT_H

#include "AMDiS_fwd.h"
#include "Global.h"
28 29
#include "parallel/ParallelProblemStatBase.h"
#include "parallel/PetscSolver.h"
30
#include "parallel/PetscSolverFeti.h"
Thomas Witkowski's avatar
Thomas Witkowski committed
31 32
#include "parallel/PetscSolverGlobalMatrix.h"
#include "parallel/PetscSolverSchur.h"
33 34 35 36 37 38

namespace AMDiS {
  
  class PetscProblemStat : public ParallelProblemStatBase
  {
  public:
39 40
    PetscProblemStat(std::string nameStr, 
		     ProblemIterationInterface *problemIteration = NULL);
41 42

    ~PetscProblemStat()
43 44 45
    {
      delete petscSolver;
    }
46

47 48 49
    void initialize(Flag initFlag,
		    ProblemStatSeq *adoptProblem = NULL,
		    Flag adoptFlag = INIT_NOTHING);
Thomas Witkowski's avatar
Thomas Witkowski committed
50

51 52 53
    void solve(AdaptInfo *adaptInfo, bool fixedMatrix = false);

  protected:
54
    PetscSolver *petscSolver;
55 56 57 58
  };

  typedef PetscProblemStat ParallelProblemStat;

59 60 61 62
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
  typedef PetscProblemStat ProblemStat;
#endif

63 64 65
} // namespace AMDiS

#endif