OpenCAEPoro  v0.5.0
A simulator for multicomponent porous media flow
Classes | Macros
FaspSolver.hpp File Reference

Declaration of classes interfacing to the FASP solvers. More...

#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "fasp.h"
#include "fasp_block.h"
#include "fasp_functs.h"
#include "LinearSolver.hpp"

Go to the source code of this file.

Classes

class  FaspSolver
 Basic FASP solver class. More...
 
class  ScalarFaspSolver
 Scalar solvers in CSR format from FASP. More...
 
class  VectorFaspSolver
 Vector solvers in BSR format from FASP. More...
 

Macros

#define PC_NULL   60
 None: no preconditioner.
 
#define PC_FASP1   61
 FASP1: MSP, default for FIM from 2020.
 
#define PC_FASP2   62
 FASP2: MSP, experimental only.
 
#define PC_FASP3   63
 FASP3: MSP, monolithic preconditioner.
 
#define PC_FASP4   64
 FASP4: MSP, default for FIM from 2015.
 
#define PC_FASP5   65
 FASP5: MSP, experimental only.
 
#define PC_DIAG   68
 DIAG: diagonal preconditioner.
 
#define PC_BILU   69
 BILU: block ILU preconditioner.
 
#define PC_FASP1_SHARE   71
 Sharing setup stage for PC_FASP1, use with caution.
 
#define PC_FASP4_SHARE   74
 Sharing setup stage for PC_FASP4, use with caution.
 
#define RESET_CONST   35
 Sharing threshold for PC_FASP1_SHARE, PC_FASP4_SHARE.
 

Detailed Description

Declaration of classes interfacing to the FASP solvers.

Author
Shizhe Li
Date
Nov/22/2021

Copyright (C) 2021–present by the OpenCAEPoro team. All rights reserved.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file FaspSolver.hpp.