libsim  Versione8.0.0

◆ pack_distinct_var6d()

type(volgrid6d_var) function, dimension(dim) volgrid6d_var_class::pack_distinct_var6d ( type(volgrid6d_var), dimension(:), intent(in)  vect,
integer, intent(in)  dim,
logical, dimension(:), intent(in), optional  mask,
logical, intent(in), optional  back 
)
private

compatta gli elementi distinti di vect in un array

Definizione alla linea 676 del file volgrid6d_var_class.F90.

676 ELEMENTAL FUNCTION conv_func_eq(this, that) RESULT(res)
677 TYPE(conv_func),INTENT(IN) :: this, that
678 LOGICAL :: res
679 
680 res = this%a == that%a .AND. this%b == that%b
681 
682 END FUNCTION conv_func_eq
683 
684 
685 ELEMENTAL FUNCTION conv_func_ne(this, that) RESULT(res)
686 TYPE(conv_func),INTENT(IN) :: this, that
687 LOGICAL :: res
688 
689 res = .NOT.(this == that)
690 
691 END FUNCTION conv_func_ne
692 
693 
694 FUNCTION conv_func_mult(this, that) RESULT(mult)
695 TYPE(conv_func),INTENT(in) :: this
696 TYPE(conv_func),INTENT(in) :: that
697 
698 TYPE(conv_func) :: mult
699 
700 IF (this == conv_func_miss .OR. that == conv_func_miss) THEN
701  mult = conv_func_miss
702 ELSE
703  mult%a = this%a*that%a
704  mult%b = this%a*that%b+this%b
705 ENDIF
706 
707 END FUNCTION conv_func_mult
708 
716 ELEMENTAL SUBROUTINE conv_func_compute(this, values)
717 TYPE(conv_func),INTENT(in) :: this
718 REAL,INTENT(inout) :: values
719 
720 IF (this /= conv_func_miss) THEN
721  IF (c_e(values)) values = values*this%a + this%b
722 ELSE
723  values=rmiss
724 ENDIF
725 
726 END SUBROUTINE conv_func_compute
727 
728 
742 SUBROUTINE volgrid6d_var_hor_comp_index(this, xind, yind)
743 TYPE(volgrid6d_var),INTENT(in) :: this(:)
744 INTEGER,POINTER :: xind(:), yind(:)
745 

Generated with Doxygen.