Method

NumCosmoMathSBesselOdeOperatorget_operator_size

Declaration [src]

gsize
ncm_sbessel_ode_operator_get_operator_size (
  NcmSBesselOdeOperator* op
)

Description [src]

Gets the total allocated size of the operator’s internal storage. This represents the allocated size (operator_order * n_ell) for the arrays (matrix_rows, rotation_params, c) that store the diagonalized operator and factorization data. The operator size grows as needed when solving problems that require more storage than currently allocated.

This function is primarily useful for testing memory management and verifying that the operator size grows correctly during consecutive solves with different RHS sizes or ell ranges.

Return value

Type: gsize

The allocated operator size (0 if no memory has been allocated yet).