IgANet
IGAnets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
solver.hpp File Reference

Solver utility functions. More...

#include <core/core.hpp>

Go to the source code of this file.

Namespaces

namespace  iganet
 
namespace  iganet::utils
 

Functions

auto iganet::utils::solve_bicgstab (const torch::Tensor &A, const torch::Tensor b, int max_iter=1000, double tol=1e-10)
 Solves the linear system A * x = b using the Bi-Conjugate Gradient Stabilized (BiCGStab) method.
 
auto iganet::utils::solve_cg (const torch::Tensor &A, const torch::Tensor b, int max_iter=1000, double tol=1e-10)
 Solves the linear system A * x = b using the Conjugate Gradient (CG) method.
 

Detailed Description

Solver utility functions.

Author
Matthias Moller

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.