Octopus
batch_ops_oct_m::batch_scal Interface Reference

scale a batch by a constant or vector \( y = a*x \) More...

Detailed Description

scale a batch by a constant or vector \( y = a*x \)

Definition at line 160 of file batch_ops.F90.

Private Member Functions

subroutine dbatch_scal_const (np, aa, xx)
 scale all functions in a batch by constant aa More...
 
subroutine zbatch_scal_const (np, aa, xx)
 scale all functions in a batch by constant aa More...
 
subroutine dbatch_scal_vec (np, aa, xx, a_start, a_full)
 scale all functions in a batch by state dependent constant More...
 
subroutine zbatch_scal_vec (np, aa, xx, a_start, a_full)
 scale all functions in a batch by state dependent constant More...
 

Member Function/Subroutine Documentation

◆ dbatch_scal_const()

subroutine batch_ops_oct_m::batch_scal::dbatch_scal_const ( integer, intent(in)  np,
real(real64), intent(in)  aa,
class(batch_t), intent(inout)  xx 
)
private

scale all functions in a batch by constant aa

Parameters
[in]npnumber of points
[in,out]xxxx(ist) = xx(ist) * aa

Definition at line 1118 of file batch_ops.F90.

◆ zbatch_scal_const()

subroutine batch_ops_oct_m::batch_scal::zbatch_scal_const ( integer, intent(in)  np,
complex(real64), intent(in)  aa,
class(batch_t), intent(inout)  xx 
)
private

scale all functions in a batch by constant aa

Parameters
[in]npnumber of points
[in,out]xxxx(ist) = xx(ist) * aa

Definition at line 2595 of file batch_ops.F90.

◆ dbatch_scal_vec()

subroutine batch_ops_oct_m::batch_scal::dbatch_scal_vec ( integer, intent(in)  np,
real(real64), dimension(:), intent(in)  aa,
class(batch_t), intent(inout)  xx,
integer, intent(in), optional  a_start,
logical, intent(in), optional  a_full 
)
private

scale all functions in a batch by state dependent constant

Parameters
[in]npnumber of points
[in,out]xxxx(ist) = xx(ist) * aa(ist)

Definition at line 1154 of file batch_ops.F90.

◆ zbatch_scal_vec()

subroutine batch_ops_oct_m::batch_scal::zbatch_scal_vec ( integer, intent(in)  np,
complex(real64), dimension(:), intent(in)  aa,
class(batch_t), intent(inout)  xx,
integer, intent(in), optional  a_start,
logical, intent(in), optional  a_full 
)
private

scale all functions in a batch by state dependent constant

Parameters
[in]npnumber of points
[in,out]xxxx(ist) = xx(ist) * aa(ist)

Definition at line 2631 of file batch_ops.F90.


The documentation for this interface was generated from the following file: