Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::LUSolver< N, T > Class Template Reference

#include <AMReX_LUSolver.H>

Public Member Functions

 LUSolver ()=default
__host__ __device__ LUSolver (Array2D< T, 0, N-1, 0, N-1, Order::C > const &a_mat)
void define (Array2D< T, 0, N-1, 0, N-1, Order::C > const &a_mat)
__host__ __device__ void operator() (T *__restrict__ x, T const *__restrict__ b) const
__host__ __device__ Array2D< T, 0, N-1, 0, N-1, Order::C > invert () const
__host__ __device__ T determinant () const

Static Public Attributes

static constexpr int size = N

Constructor & Destructor Documentation

◆ LUSolver() [1/2]

template<int N, typename T>
amrex::LUSolver< N, T >::LUSolver ( )
default

◆ LUSolver() [2/2]

template<int N, typename T>
__host__ __device__ amrex::LUSolver< N, T >::LUSolver ( Array2D< T, 0, N-1, 0, N-1, Order::C > const & a_mat)
inline

Member Function Documentation

◆ define()

template<int N, typename T>
void amrex::LUSolver< N, T >::define ( Array2D< T, 0, N-1, 0, N-1, Order::C > const & a_mat)

◆ determinant()

template<int N, typename T>
__host__ __device__ T amrex::LUSolver< N, T >::determinant ( ) const
inlinenodiscard

◆ invert()

template<int N, typename T>
__host__ __device__ Array2D< T, 0, N-1, 0, N-1, Order::C > amrex::LUSolver< N, T >::invert ( ) const
inlinenodiscard

◆ operator()()

template<int N, typename T>
__host__ __device__ void amrex::LUSolver< N, T >::operator() ( T *__restrict__ x,
T const *__restrict__ b ) const
inline

Member Data Documentation

◆ size

template<int N, typename T>
int amrex::LUSolver< N, T >::size = N
staticconstexpr

The documentation for this class was generated from the following file: