fast_matrix_market::pattern_parse_adapter< FWD_HANDLER > Class Template Reference

Description

template<typename FWD_HANDLER>
class fast_matrix_market::pattern_parse_adapter< FWD_HANDLER >

A handler wrapper for easily handling pattern matrices.

This forwards a fixed value. For example, write 1.0 to double matrices. Avoid using zero.

#include <read_body.hpp>

Public Types

using coordinate_type = typename FWD_HANDLER::coordinate_type
 
using value_type = typename FWD_HANDLER::value_type
 

Public Member Functions

 pattern_parse_adapter (const FWD_HANDLER &handler, typename FWD_HANDLER::value_type fwd_value)
 
void handle (const coordinate_type row, const coordinate_type col, [[maybe_unused]] const pattern_placeholder_type ignored)
 
void handle (const coordinate_type row, const coordinate_type col, const value_type val)
 
pattern_parse_adapter< FWD_HANDLER > get_chunk_handler (int64_t offset_from_start)
 

Static Public Attributes

static constexpr int flags = FWD_HANDLER::flags
 

Protected Attributes

FWD_HANDLER handler
 
FWD_HANDLER::value_type fwd_value
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_thirdparty/fast_matrix_market/read_body.hpp