Octopus
|
batchified version of the BLAS axpy routine: \( y = a*x + y \) More...
batchified version of the BLAS axpy routine: \( y = a*x + y \)
Definition at line 152 of file batch_ops.F90.
Private Member Functions | |
subroutine | dbatch_axpy_const (np, aa, xx, yy) |
This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions. More... | |
subroutine | zbatch_axpy_const (np, aa, xx, yy) |
This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions. More... | |
subroutine | dbatch_axpy_vec (np, aa, xx, yy, a_start, a_full) |
This routine applies an 'pair-wise' axpy operation to all functions of the batches xx and yy, where the constant aa(ist) is used for the mesh functions in the batch. More... | |
subroutine | zbatch_axpy_vec (np, aa, xx, yy, a_start, a_full) |
This routine applies an 'pair-wise' axpy operation to all functions of the batches xx and yy, where the constant aa(ist) is used for the mesh functions in the batch. More... | |
|
private |
This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions.
[in] | np | number of points |
[in,out] | yy | yy(:,:) = aa*xx(:,:) + yy(:,:) |
Definition at line 690 of file batch_ops.F90.
|
private |
This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions.
[in] | np | number of points |
[in,out] | yy | yy(:,:) = aa*xx(:,:) + yy(:,:) |
Definition at line 2184 of file batch_ops.F90.
|
private |
This routine applies an 'pair-wise' axpy operation to all functions of the batches xx and yy, where the constant aa(ist) is used for the mesh functions in the batch.
[in] | np | number of points |
[in] | aa | array of multipliers |
[in,out] | yy | y(ist,:) = aa(ist) * x(ist,:) + y(ist,:) |
[in] | a_start | first state to operate on (default = 1) |
[in] | a_full | Is aa of size st:nst? |
By default, aa is expected to be of size stnst, i.e., an array of the size of all states. The correct states will be picked from the indices stored in each batch. This is used, for example, for computing residuals given the eigenvalues. For a_full=.false., aa is expected to be of size yynst_linear, i.e. it has the size of the batch only.
Definition at line 779 of file batch_ops.F90.
|
private |
This routine applies an 'pair-wise' axpy operation to all functions of the batches xx and yy, where the constant aa(ist) is used for the mesh functions in the batch.
[in] | np | number of points |
[in] | aa | array of multipliers |
[in,out] | yy | y(ist,:) = aa(ist) * x(ist,:) + y(ist,:) |
[in] | a_start | first state to operate on (default = 1) |
[in] | a_full | Is aa of size st:nst? |
By default, aa is expected to be of size stnst, i.e., an array of the size of all states. The correct states will be picked from the indices stored in each batch. This is used, for example, for computing residuals given the eigenvalues. For a_full=.false., aa is expected to be of size yynst_linear, i.e. it has the size of the batch only.
Definition at line 2273 of file batch_ops.F90.