ginkgo/core/preconditioner/jacobi.hpp Source File#
|
Reference API
|
jacobi.hpp
Definition polymorphic_object.hpp:479
Definition lin_op.hpp:878
Definition polymorphic_object.hpp:668
Definition lin_op.hpp:117
std::shared_ptr< const Executor > get_executor() const noexcept
Definition polymorphic_object.hpp:243
Definition lin_op.hpp:433
Definition lin_op.hpp:660
Definition array.hpp:166
const value_type * get_const_data() const noexcept
Definition array.hpp:682
void set_executor(std::shared_ptr< const Executor > exec)
Definition array.hpp:700
Definition property_tree.hpp:28
Definition registry.hpp:167
Definition type_descriptor.hpp:39
Definition csr.hpp:123
Definition dense.hpp:116
Definition types.hpp:238
Definition jacobi.hpp:513
Definition jacobi.hpp:189
const block_interleaved_storage_scheme< index_type > & get_storage_scheme() const noexcept
Definition jacobi.hpp:221
Jacobi(const Factory *factory, std::shared_ptr< const LinOp > system_matrix)
Definition jacobi.hpp:560
std::unique_ptr< LinOp > conj_transpose() const override
void generate(const LinOp *system_matrix, bool skip_sorting)
Jacobi(std::shared_ptr< const Executor > exec)
Definition jacobi.hpp:543
block_interleaved_storage_scheme< index_type > compute_storage_scheme(uint32 max_block_size, uint32 param_max_block_stride)
Definition jacobi.hpp:587
Jacobi(const Jacobi &other)
const remove_complex< value_type > * get_conditioning() const noexcept
Definition jacobi.hpp:252
Jacobi(Jacobi &&other)
static parameters_type parse(const config::pnode &config, const config::registry &context, const config::type_descriptor &td_for_child=config::make_type_descriptor< ValueType, IndexType >())
std::unique_ptr< LinOp > transpose() const override
const value_type * get_blocks() const noexcept
Definition jacobi.hpp:238
void write(mat_data &data) const override
Jacobi & operator=(Jacobi &&other)
Jacobi & operator=(const Jacobi &other)
void detect_blocks(const matrix::Csr< ValueType, IndexType > *system_matrix)
size_type get_num_stored_elements() const noexcept
Definition jacobi.hpp:262
size_type get_num_blocks() const noexcept
Definition jacobi.hpp:211
#define GKO_CREATE_FACTORY_PARAMETERS(_parameters_name, _factory_name)
Definition abstract_factory.hpp:280
#define GKO_FACTORY_PARAMETER_SCALAR(_name, _default)
Definition abstract_factory.hpp:445
#define GKO_ENABLE_BUILD_METHOD(_factory_name)
Definition abstract_factory.hpp:394
#define GKO_ENABLE_LIN_OP_FACTORY(_lin_op, _parameters_name, _factory_name)
Definition lin_op.hpp:1016
#define GKO_FACTORY_PARAMETER_VECTOR(_name,...)
Definition abstract_factory.hpp:461
constexpr uint32 get_significant_bit(const T &n, uint32 hint=0u) noexcept
Definition math.hpp:1009
constexpr T get_superior_power(const T &base, const T &limit, const T &hint=T{1}) noexcept
Definition math.hpp:1027
typename detail::remove_complex_s< T >::type remove_complex
Definition math.hpp:260
STL namespace.
Definition matrix_data.hpp:126
Definition jacobi.hpp:304
storage_optimization_type storage_optimization
Definition jacobi.hpp:482
uint32 max_block_size
Definition jacobi.hpp:313
gko::array< index_type > block_pointers
Definition jacobi.hpp:371
bool skip_sorting
true means it is known that the matrix given to this factory will be sorted first by row,...
Definition jacobi.hpp:343
Definition jacobi.hpp:37
IndexType get_block_offset(IndexType block_id) const noexcept
Definition jacobi.hpp:113
IndexType get_group_offset(IndexType block_id) const noexcept
Definition jacobi.hpp:101
uint32 group_power
Definition jacobi.hpp:62
IndexType get_stride() const noexcept
Definition jacobi.hpp:137
IndexType group_offset
Definition jacobi.hpp:55
IndexType get_global_block_offset(IndexType block_id) const noexcept
Definition jacobi.hpp:126
IndexType block_offset
Definition jacobi.hpp:50
size_type compute_storage_space(size_type num_blocks) const noexcept
Definition jacobi.hpp:87
IndexType get_group_size() const noexcept
Definition jacobi.hpp:69
Generated by