|
FEAT 3
Finite Element Analysis Toolbox
|
Additive Macro-wise Matrix-based Vanka preconditioner/smoother. More...
#include <voxel_amavanka.hpp>
Public Types | |
| typedef Solver::AmaVanka< Matrix_, Filter_ > | BaseClass |
| our base-class More... | |
| typedef Matrix_::DataType | DataType |
| our data type More... | |
| typedef Matrix_::IndexType | IndexType |
| our index type More... | |
| typedef Matrix_::VectorTypeL | VectorType |
| our vector type More... | |
Public Member Functions | |
| template<typename ColoringType_ > | |
| VoxelAmaVanka (const Matrix_ &matrix, const Filter_ &filter, const ColoringType_ &coloring, const DataType omega=DataType(1), const Index num_steps=Index(1)) | |
| Constructor. More... | |
| VoxelAmaVanka (const VoxelAmaVanka &)=delete | |
| VoxelAmaVanka (VoxelAmaVanka &&) noexcept=delete | |
| virtual Status | apply (VectorType &vec_x, const VectorType &vec_b) override |
| applies the preconditioner More... | |
| std::size_t | bytes () const |
| Returns the total number of bytes currently allocated in this object. More... | |
| void | clear_macro_dofs () |
| Clears the macro dofs graphs. More... | |
| std::size_t | data_size () const |
| Returns the total data size used by the AmaVanka smoother. More... | |
| virtual void | done () |
| Finalization method. More... | |
| virtual void | done_numeric () override |
| Numeric finalization method. More... | |
| virtual void | done_symbolic () override |
| Frees symbolic values and device pointers. More... | |
| template<typename ColoringType_ > | |
| void | fill_color (const ColoringType_ &color, int hint=-1) |
| Fills the coloring data. More... | |
| VankaMatrixType & | get_vanka_matrix () |
| const VankaMatrixType & | get_vanka_matrix () const |
| virtual void | init () |
| Initialization method. More... | |
| virtual void | init_numeric () override |
| Performs numeric factorization. More... | |
| virtual void | init_symbolic () override |
| Initializes symbolic values and device pointers. More... | |
| virtual String | name () const override |
| Returns the name of the solver. More... | |
| VoxelAmaVanka & | operator= (const VoxelAmaVanka &)=delete |
| VoxelAmaVanka & | operator= (VoxelAmaVanka &&) noexcept=delete |
| void | push_macro_dofs (Adjacency::Graph &&dofs) |
| Pushes the dofs-at-macro graph of the next block. More... | |
| void | reset_timings () |
| Resets the internal stop watches for time measurement. More... | |
| void | set_num_steps (Index num_steps) |
| Sets the number of smoothing steps. More... | |
| void | set_omega (DataType omega) |
| Sets the damping parameter omega. More... | |
| void | set_skip_singular (bool skip_sing) |
| Sets whether singular macros are to be skipped. More... | |
| void | set_sync_after_assembly (bool sync) |
| Controls whether the batched cuda assembly synchronizes at the end. More... | |
| double | time_apply () const |
| Returns the total accumulated time for the solver application. More... | |
| double | time_init_numeric () const |
| Returns the total accumulated time for numeric initialization. More... | |
| double | time_init_symbolic () const |
| Returns the total accumulated time for symbolic initialization. More... | |
Protected Types | |
| typedef Intern::CSRTupleMatrixWrapper< DataType, IndexType, Intern::AmaVankaMatrixHelper< Matrix_ >::num_blocks > | MatrixWrapper |
| our matrix data wrapper More... | |
| typedef Intern::AmaVankaMatrixHelper< Matrix_ >::VankaMatrix | VankaMatrixType |
| the type of our Vanka matrix More... | |
| typedef Intern::CSRTupleMatrixWrapper< DataType, IndexType, Intern::AmaVankaMatrixHelper< VankaMatrixType >::num_blocks > | VankaWrapper |
| our vanka data wrapper More... | |
Protected Member Functions | |
| void | _alloc_device () |
| Allocates device pointers, if required. More... | |
| void | _alloc_max_degrees () |
| Calculate the max degree of our graphs. More... | |
| void | _free_device () |
| Frees device pointers. More... | |
| void | _init_numeric_cuda (const MatrixWrapper &mat_wrap, VankaWrapper &vanka_wrap, Index num_macros, Index stride, DataType eps) |
| Calls cuda numeric kernel. More... | |
| void | _init_numeric_generic (const MatrixWrapper &mat_wrap, VankaWrapper &vanka_wrap, Index num_macros, Index stride, DataType eps) |
| Calls generic numeric kernel. More... | |
Protected Attributes | |
| bool | _allocate_device = false |
| flag whether we should allocate additional device pointer More... | |
| bool | _auto_macros |
| deduct macro dofs automatically? More... | |
| Adjacency::ColoringDataHandler | _coloring_data |
| coloring More... | |
| std::vector< Memory::Arbiter > | _d_dof_macros |
| std::vector< Memory::Arbiter > | _d_macro_dofs |
| vector of graph arrays More... | |
| Memory::Arbiter | _d_macro_mask |
| array of macro mask More... | |
| std::vector< Adjacency::Graph > | _dof_macros |
| const Filter_ & | _filter |
| the system filter More... | |
| std::vector< Adjacency::Graph > | _macro_dofs |
| the DOF-macro graphs More... | |
| std::vector< int > | _macro_mask |
| the macro mask More... | |
| const Matrix_ & | _matrix |
| the system matrix More... | |
| std::vector< Index > | _max_degree_dofs |
| size data More... | |
| std::vector< Index > | _max_degree_macros |
| Index | _num_steps |
| number of steps More... | |
| int | _num_threads |
| number of threads for numeric factorization More... | |
| DataType | _omega |
| damping parameter More... | |
| bool | _skip_singular |
| skip singular macros? More... | |
| bool | _sync_after_assembly = true |
| VankaMatrixType | _vanka |
| the Vanka preconditioner matrix More... | |
| VectorType | _vec_c |
| temporary vectors More... | |
| VectorType | _vec_d |
| StopWatch | watch_apply |
| StopWatch | watch_init_numeric |
| StopWatch | watch_init_symbolic |
Additive Macro-wise Matrix-based Vanka preconditioner/smoother.
| Matrix_ | The MatrixType of the system matrix. |
| Filter_ | The FilterType to be used. |
| pol_threading_ | The threading policy to be used. Defaults to batched assembly. |
| macro_type_ | The macro policy to be used. Defaults to uniform macros. |
This class implements an additive macro-wise Vanka smoother, which stores its pre-computed operator as a sparse matrix, so that each application of the Vanka smoother consists of only one sparse matrix-vector multiplication.
This class is based on the standard Amavanka smoother and differs in one major point: The backend of the numeric assembly of the underlying vanka matrix can be chosen at runtime by the PreferredBackend static variable and supports (for now) a, on OpenMP based, threadparallel generic assembly and a CUDA based device assembly.
This class supports all matrix-types and macro distributions that the AmaVanka baseclass does. For specific information of the AmaVanka solver refer to the baseclass documentation.
Definition at line 303 of file voxel_amavanka.hpp.
| typedef Solver::AmaVanka<Matrix_, Filter_> FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::BaseClass |
our base-class
Definition at line 308 of file voxel_amavanka.hpp.
| typedef Matrix_::DataType FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::DataType |
our data type
Definition at line 311 of file voxel_amavanka.hpp.
| typedef Matrix_::IndexType FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::IndexType |
our index type
Definition at line 313 of file voxel_amavanka.hpp.
|
protected |
our matrix data wrapper
Definition at line 321 of file voxel_amavanka.hpp.
|
protected |
the type of our Vanka matrix
Definition at line 319 of file voxel_amavanka.hpp.
|
protected |
our vanka data wrapper
Definition at line 323 of file voxel_amavanka.hpp.
| typedef Matrix_::VectorTypeL FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::VectorType |
our vector type
Definition at line 315 of file voxel_amavanka.hpp.
|
inlineexplicit |
Constructor.
| ColoringType_ | The type of the coloring array, should either be a vector of ints or a Coloring object. |
| [in] | matrix | The saddle-point system matrix. |
| [in] | filter | The system filter. |
| [in] | coloring | The coloring of the macros to be added. This should be used, if automatic marco deduction is used. |
| [in] | omega | The damping parameter. |
| [in] | num_steps | The number of smoothing steps to be performed. |
Definition at line 518 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_allocate_device, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_coloring_data, and FEAT::Adjacency::ColoringDataHandler::fill_color().
|
inlineprotected |
Allocates device pointers, if required.
Definition at line 354 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_allocate_device, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_d_macro_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_mask, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_max_degree_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_skip_singular, FEAT::Memory::format_to_zero, FEAT::Memory::TypedView< T_ >::get_w(), FEAT::Memory::main, FEAT::Memory::memcopy_main(), FEAT::Memory::memset_main(), FEAT::Memory::write, and XASSERTM.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_symbolic().
|
inlineprotected |
Calculate the max degree of our graphs.
Definition at line 339 of file voxel_amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_dofs, and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_max_degree_dofs.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_symbolic().
|
inlineprotected |
Frees device pointers.
Definition at line 425 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_d_macro_dofs, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_d_macro_mask, and FEAT::Memory::Arbiter::release().
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::done_symbolic().
|
inlineprotected |
Calls cuda numeric kernel.
| [in] | mat_wrap | Wrapper of the system matrix. |
| [in/out] | vanka_wrap Wrapper of the vanka matrix. | |
| [in] | num_macros | Number of macros. Ignored. |
| [in] | stride | The local matrix stride. |
| [in] | eps | Tolerance for singular matrix identifaication. |
Definition at line 476 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_allocate_device, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_coloring_data, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_d_macro_dofs, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_d_macro_mask, FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_max_degree_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_omega, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_skip_singular, and XASSERTM.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_numeric().
|
inlineprotected |
Calls generic numeric kernel.
| [in] | mat_wrap | Wrapper of the system matrix. |
| [in/out] | vanka_wrap Wrapper of the vanka matrix. | |
| [in] | num_macros | Number of macros. Ignored. |
| [in] | stride | The local matrix stride. |
| [in] | eps | Tolerance for singular matrix identifaication. |
Definition at line 450 of file voxel_amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_mask, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_omega, and FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_skip_singular.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_numeric().
|
inlineoverridevirtualinherited |
applies the preconditioner
Implements FEAT::Solver::SolverBase< Matrix_::VectorTypeL >.
Definition at line 459 of file amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_num_steps, FEAT::StopWatch::start(), FEAT::StopWatch::stop(), and FEAT::Solver::success.
|
inlineinherited |
Returns the total number of bytes currently allocated in this object.
Definition at line 221 of file amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_vanka, and FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_vec_c.
|
inlineinherited |
Clears the macro dofs graphs.
Definition at line 152 of file amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_auto_macros.
|
inlineinherited |
Returns the total data size used by the AmaVanka smoother.
Definition at line 239 of file amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_vanka.
|
inlinevirtualinherited |
|
inlineoverridevirtualinherited |
Numeric finalization method.
This method is called to release any data allocated in the numeric initialization step.
Reimplemented from FEAT::Solver::SolverBase< Matrix_::VectorTypeL >.
Definition at line 454 of file amavanka.hpp.
|
inlineoverridevirtual |
Frees symbolic values and device pointers.
Reimplemented from FEAT::Solver::AmaVanka< Matrix_, Filter_ >.
Definition at line 644 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_free_device(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_max_degree_dofs, and FEAT::Solver::AmaVanka< Matrix_, Filter_ >::done_symbolic().
|
inline |
Fills the coloring data.
| ColoringType_ | Arraytype mapping index to a color |
| [in] | color | The coloring data. Has to fit the macro dofs, i.e. call after pushing all macro dofs. |
| [in] | hint | Optionally give hint on the number of colors. |
Definition at line 619 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_coloring_data, FEAT::Adjacency::ColoringDataHandler::fill_color(), and XASSERTM.
|
inlineinherited |
Definition at line 139 of file amavanka.hpp.
|
inlineinherited |
Definition at line 144 of file amavanka.hpp.
|
inlinevirtualinherited |
|
inlineoverridevirtual |
Performs numeric factorization.
Reimplemented from FEAT::Solver::AmaVanka< Matrix_, Filter_ >.
Definition at line 655 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_generic(), FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_dofs, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_matrix, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_vanka, FEAT::cuda, FEAT::Memory::cuda, FEAT::Backend::get_preferred_backend(), FEAT::Solver::SolverBase< Vector_ >::init_numeric(), FEAT::Memory::main, FEAT::StopWatch::start(), and FEAT::StopWatch::stop().
|
inlineoverridevirtual |
Initializes symbolic values and device pointers.
Reimplemented from FEAT::Solver::AmaVanka< Matrix_, Filter_ >.
Definition at line 633 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_max_degrees(), FEAT::Solver::AmaVanka< Matrix_, Filter_ >::init_symbolic(), FEAT::StopWatch::start(), and FEAT::StopWatch::stop().
|
inlineoverridevirtual |
Returns the name of the solver.
Reimplemented from FEAT::Solver::AmaVanka< Matrix_, Filter_ >.
Definition at line 627 of file voxel_amavanka.hpp.
|
inlineinherited |
Pushes the dofs-at-macro graph of the next block.
| [in] | dofs | The dofs-at-macro graph of the block. |
Definition at line 164 of file amavanka.hpp.
References FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_auto_macros, FEAT::Solver::AmaVanka< Matrix_, Filter_ >::_macro_dofs, and XABORTM.
|
inlineinherited |
Resets the internal stop watches for time measurement.
Definition at line 247 of file amavanka.hpp.
References FEAT::StopWatch::reset().
|
inlineinherited |
Sets the number of smoothing steps.
| [in] | num_steps | The number of smoothing steps to be performed. |
Definition at line 189 of file amavanka.hpp.
References XASSERT.
|
inlineinherited |
Sets the damping parameter omega.
| [in] | omega | The damping parameter. |
Definition at line 201 of file amavanka.hpp.
References XASSERT.
|
inlineinherited |
Sets whether singular macros are to be skipped.
| [in] | skip_sing | Specifies whether singular macros are to be skipped. |
Definition at line 213 of file amavanka.hpp.
|
inline |
Controls whether the batched cuda assembly synchronizes at the end.
By default the batched cuda numeric assembly synchronizes and error-checks the device after assembly. Passing false lets the assembly run asynchronously (using stream-ordered allocation, if supported by the device), so it can overlap with other work on the default stream. Note that with synchronization disabled the reported init-numeric timing no longer reflects the actual device runtime.
| [in] | sync | Whether to synchronize after the batched assembly. |
Definition at line 544 of file voxel_amavanka.hpp.
References FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_sync_after_assembly.
|
inlineinherited |
Returns the total accumulated time for the solver application.
Definition at line 273 of file amavanka.hpp.
References FEAT::StopWatch::elapsed().
|
inlineinherited |
Returns the total accumulated time for numeric initialization.
Definition at line 265 of file amavanka.hpp.
References FEAT::StopWatch::elapsed().
|
inlineinherited |
Returns the total accumulated time for symbolic initialization.
Definition at line 257 of file amavanka.hpp.
References FEAT::StopWatch::elapsed().
|
protected |
flag whether we should allocate additional device pointer
Definition at line 333 of file voxel_amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::VoxelAmaVanka(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda().
|
protectedinherited |
deduct macro dofs automatically?
Definition at line 87 of file amavanka.hpp.
Referenced by FEAT::Solver::AmaVanka< Matrix_, Filter_ >::clear_macro_dofs(), and FEAT::Solver::AmaVanka< Matrix_, Filter_ >::push_macro_dofs().
|
protected |
coloring
Definition at line 325 of file voxel_amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::VoxelAmaVanka(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::fill_color().
|
protected |
Definition at line 327 of file voxel_amavanka.hpp.
|
protected |
vector of graph arrays
Definition at line 327 of file voxel_amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_free_device(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda().
|
protected |
array of macro mask
Definition at line 331 of file voxel_amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_free_device(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda().
|
protectedinherited |
Definition at line 91 of file amavanka.hpp.
|
protectedinherited |
the system filter
Definition at line 83 of file amavanka.hpp.
|
protectedinherited |
the DOF-macro graphs
Definition at line 91 of file amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_max_degrees(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_generic(), FEAT::Solver::AmaVanka< Matrix_, Filter_ >::bytes(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_numeric(), FEAT::Solver::AmaVanka< Matrix_, Filter_ >::init_symbolic(), and FEAT::Solver::AmaVanka< Matrix_, Filter_ >::push_macro_dofs().
|
protectedinherited |
the macro mask
Definition at line 93 of file amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_generic().
|
protectedinherited |
the system matrix
Definition at line 81 of file amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_numeric().
|
protected |
size data
Definition at line 329 of file voxel_amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_max_degrees(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::done_symbolic().
|
protected |
Definition at line 329 of file voxel_amavanka.hpp.
|
protectedinherited |
number of steps
Definition at line 95 of file amavanka.hpp.
Referenced by FEAT::Solver::AmaVanka< Matrix_, Filter_ >::apply().
|
protectedinherited |
number of threads for numeric factorization
Definition at line 109 of file amavanka.hpp.
|
protectedinherited |
damping parameter
Definition at line 97 of file amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_generic().
|
protectedinherited |
skip singular macros?
Definition at line 89 of file amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_alloc_device(), FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_cuda(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::_init_numeric_generic().
|
protected |
flag whether the batched cuda assembly should synchronize (and error-check) at the end; set to false to run the assembly asynchronously (requires stream-ordered allocation support)
Definition at line 336 of file voxel_amavanka.hpp.
Referenced by FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::set_sync_after_assembly().
|
protectedinherited |
the Vanka preconditioner matrix
Definition at line 85 of file amavanka.hpp.
Referenced by FEAT::Solver::AmaVanka< Matrix_, Filter_ >::bytes(), FEAT::Solver::AmaVanka< Matrix_, Filter_ >::data_size(), and FEAT::Solver::VoxelAmaVanka< Matrix_, Filter_, pol_threading_, macro_type_ >::init_numeric().
|
protectedinherited |
temporary vectors
Definition at line 99 of file amavanka.hpp.
Referenced by FEAT::Solver::AmaVanka< Matrix_, Filter_ >::bytes().
|
protectedinherited |
Definition at line 99 of file amavanka.hpp.
|
protectedinherited |
Definition at line 106 of file amavanka.hpp.
|
protectedinherited |
Definition at line 104 of file amavanka.hpp.
|
protectedinherited |
Definition at line 102 of file amavanka.hpp.