ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
solve.hpp File Reference

Provides a generic solver layer, providing bindings to a dense Gauss solver, ViennaCL, etc. More...

#include <stdexcept>
#include "viennashe/solvers/config.hpp"
#include "viennashe/solvers/exception.hpp"
#include "src/solvers/viennacl/all.h"
#include "src/solvers/native/dense_linear_solver.hpp"
#include "src/solvers/petsc/petsc_solver.hpp"
#include "viennashe/util/checks.hpp"
#include "viennacl/linalg/norm_2.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 MatrixType , typename VectorType >
VectorType viennashe::solvers::solve_impl (MatrixType &system_matrix, VectorType const &rhs, linear_solver_config const &config)
 Public interface for solving a system of linear equations. More...
 

Detailed Description

Provides a generic solver layer, providing bindings to a dense Gauss solver, ViennaCL, etc.

Definition in file solve.hpp.