Multigrid CoarseFine structure #529
Labels
is:help-wanted
Need ideas on how to solve this.
is:new-feature
A request or implementation of a feature that does not exist yet.
is:proposal
Maybe we should do something this way.
mod:core
This is related to the core module.
type:multigrid
This is related to multigrid
In #528, I implement the CoarseFine class inherit LinOp and AmgxPgm with LinOpFactory.
I would like to add the Multigrid solver which user can select different CoarseFine behaviour mostly like the inner solver of IR.
currently, I need to use
gko::as<CoarseFine>
to check whether the output fromcoarsefine_factory->generate
isCoarseFine
or otherLinOp
.Adding similar class may gives a lot of copy-paste.
AmgxPgmOp
ordynamic_cast<matrix_format>
Is the matrix-dependent function of amgxpgm under AmgxPgm or matrix_format?
gko::as<AmgxPgmOp>
(current)dynamic_cast<matrix_format>
(like csr apply) and implement the kernel under AmgxPgm.This does not affect the implementation of kernels but the place of implementation and test.
The text was updated successfully, but these errors were encountered: