PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
linsolver.h File Reference

Def. of LinSolverBase, LinSolver, and factory function. More...

#include <memory>
#include <string>
#include <petscmat.h>
#include <petscsys.h>
#include <petscvec.h>
#include <yaml-cpp/yaml.h>
#include <petibm/type.h>

Go to the source code of this file.

Classes

class  petibm::linsolver::LinSolverBase
 The abstract (base) class for different iterative solvers. More...
 

Namespaces

namespace  petibm
 A toolbox for building flow solvers.
 
namespace  petibm::linsolver
 Collection of linear solvers from different libraries.
 
namespace  petibm::type
 Frequently used types, structures, and enums.
 

Typedefs

typedef std::shared_ptr< linsolver::LinSolverBase > petibm::type::LinSolver
 Type definition of LinSolver. More...
 

Functions

PetscErrorCode petibm::linsolver::createLinSolver (const std::string &solverName, const YAML::Node &node, type::LinSolver &solver)
 A factory function for creating a LinSolver. More...
 

Detailed Description

Def. of LinSolverBase, LinSolver, and factory function.

License
BSD 3-Clause License.

Definition in file linsolver.h.