CubbyFlow::FDMMGLinearSystem3 Struct Reference

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

#include <Core/FDM/FDMMGLinearSystem3.h>

Public Member Functions

void Clear ()
 Clears the linear system. More...
 
size_t GetNumberOfLevels () 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 CubbyFlow::FDMMGLinearSystem3::Clear ( )

Clears the linear system.

◆ GetNumberOfLevels()

size_t CubbyFlow::FDMMGLinearSystem3::GetNumberOfLevels ( ) const

Returns the number of multigrid levels.

◆ ResizeWithCoarsest()

void CubbyFlow::FDMMGLinearSystem3::ResizeWithCoarsest ( const Size3 coarsestResolution,
size_t  numberOfLevels 
)

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

◆ ResizeWithFinest()

void CubbyFlow::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 CubbyFlow::FDMMGLinearSystem3::A

The system matrix.

◆ b

FDMMGVector3 CubbyFlow::FDMMGLinearSystem3::b

The RHS vector.

◆ x

FDMMGVector3 CubbyFlow::FDMMGLinearSystem3::x

The solution vector.


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