Jet  v1.3.3
Public Member Functions | Public Attributes | List of all members
jet::FdmMgLinearSystem3 Struct Reference

Multigrid-syle 3-D linear system. More...

#include <jet/fdm_mg_linear_system3.h>

Public Member Functions

void clear ()
 Clears the linear system. More...
 
size_t numberOfLevels () const
 Returns the number of multigrid levels. More...
 
void resizeWithCoarsest (const Size3 &coarsestResolution, size_t numberOfLevels)
 Resizes the system with the coarsest resolution and number of levels. More...
 
void resizeWithFinest (const Size3 &finestResolution, size_t maxNumberOfLevels)
 Resizes the system with the finest resolution and max number of levels. More...
 

Public Attributes

FdmMgMatrix3 A
 The system matrix. More...
 
FdmMgVector3 x
 The solution vector. More...
 
FdmMgVector3 b
 The RHS vector. More...
 

Detailed Description

Multigrid-syle 3-D linear system.

Member Function Documentation

◆ clear()

void jet::FdmMgLinearSystem3::clear ( )

Clears the linear system.

◆ numberOfLevels()

size_t jet::FdmMgLinearSystem3::numberOfLevels ( ) const

Returns the number of multigrid levels.

◆ resizeWithCoarsest()

void jet::FdmMgLinearSystem3::resizeWithCoarsest ( const Size3 coarsestResolution,
size_t  numberOfLevels 
)

Resizes the system with the coarsest resolution and number of levels.

◆ resizeWithFinest()

void jet::FdmMgLinearSystem3::resizeWithFinest ( const Size3 finestResolution,
size_t  maxNumberOfLevels 
)

Resizes the system with the finest resolution and max number of levels.

This function resizes the system with multiple levels until the resolution is divisible with 2^(level-1).

Parameters
finestResolution- The finest grid resolution.
maxNumberOfLevels- Maximum number of multigrid levels.

Member Data Documentation

◆ A

FdmMgMatrix3 jet::FdmMgLinearSystem3::A

The system matrix.

◆ b

FdmMgVector3 jet::FdmMgLinearSystem3::b

The RHS vector.

◆ x

FdmMgVector3 jet::FdmMgLinearSystem3::x

The solution vector.


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