iterative-solver 0.0
 
Loading...
Searching...
No Matches
molpro::linalg::itsolv::subspace::Dimensions Struct Reference

#include <Dimensions.h>

Detailed Description

Stores partitioning of XSpace into P, Q and D blocks with sizes and offsets for each one The total size and the offsets are computed from the block sizes, so they cannot go stale when a size changes.

Public Member Functions

 Dimensions ()=default
 
 Dimensions (size_t np, size_t nq, size_t nc)
 
size_t nX () const
 total size of the X space
 
size_t oP () const
 offset of the P block
 
size_t oQ () const
 offset of the Q block
 
size_t oD () const
 offset of the D block
 

Public Attributes

size_t nP = 0
 
size_t nQ = 0
 
size_t nD = 0
 
size_t nRHS = 0
 number of rigt-hand-side vectors in the system of linear equations
 

Constructor & Destructor Documentation

◆ Dimensions() [1/2]

molpro::linalg::itsolv::subspace::Dimensions::Dimensions ( )
default

◆ Dimensions() [2/2]

molpro::linalg::itsolv::subspace::Dimensions::Dimensions ( size_t  np,
size_t  nq,
size_t  nc 
)
inline

Member Function Documentation

◆ nX()

size_t molpro::linalg::itsolv::subspace::Dimensions::nX ( ) const
inline

total size of the X space

◆ oD()

size_t molpro::linalg::itsolv::subspace::Dimensions::oD ( ) const
inline

offset of the D block

◆ oP()

size_t molpro::linalg::itsolv::subspace::Dimensions::oP ( ) const
inline

offset of the P block

◆ oQ()

size_t molpro::linalg::itsolv::subspace::Dimensions::oQ ( ) const
inline

offset of the Q block

Member Data Documentation

◆ nD

size_t molpro::linalg::itsolv::subspace::Dimensions::nD = 0

◆ nP

size_t molpro::linalg::itsolv::subspace::Dimensions::nP = 0

◆ nQ

size_t molpro::linalg::itsolv::subspace::Dimensions::nQ = 0

◆ nRHS

size_t molpro::linalg::itsolv::subspace::Dimensions::nRHS = 0

number of rigt-hand-side vectors in the system of linear equations