ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
petsc_solver.hpp File Reference
#include "viennashe/util/checks.hpp"
#include "viennashe/math/linalg_util.hpp"
#include "viennashe/log/log.hpp"
#include "viennashe/solvers/config.hpp"
#include "src/solvers/log_keys.h"
#include "viennashe/util/timer.hpp"
#include <petscksp.h>
#include <mpi.h>
#include "petsc.hpp"

Go to the source code of this file.

Namespaces

namespace  viennashe
 The main ViennaSHE namespace. All functionality resides inside this namespace.
 
namespace  viennashe::solvers
 Namespace containing a variety of different linear solvers.
 

Functions

template<typename NumericT , typename VectorType >
VectorType viennashe::solvers::solve (viennashe::math::sparse_matrix< NumericT > const &A, VectorType const &b, viennashe::solvers::linear_solver_config const &config, viennashe::solvers::petsc_linear_solver_tag)