filterColMod Module



Derived Types

type, public ::  filter_col_type

Components

Type Visibility Attributes Name Initial
integer, public :: num
integer, public, allocatable :: indices(:)

Type-Bound Procedures

procedure, public :: equals_filter
generic, public :: operator(==) => equals_filter

Functions

public function col_filter_empty(bounds) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds

Return Value type(filter_col_type)

public function col_filter_from_index_array(bounds, indices_col) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
integer, intent(in) :: indices_col(:)

Return Value type(filter_col_type)

public function col_filter_from_logical_array(bounds, logical_col) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
logical, intent(in) :: logical_col(bounds%begc:)

Return Value type(filter_col_type)

public function col_filter_from_logical_array_active_only(bounds, logical_col) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
logical, intent(in) :: logical_col(bounds%begc:)

Return Value type(filter_col_type)

public function col_filter_from_ltypes(bounds, ltypes, include_inactive) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
integer, intent(in) :: ltypes(:)
logical, intent(in) :: include_inactive

Return Value type(filter_col_type)

public function col_filter_from_lunflags(bounds, lunflags, include_inactive) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
logical, intent(in) :: lunflags(bounds%begl:)
logical, intent(in) :: include_inactive

Return Value type(filter_col_type)

public function col_filter_from_grcflags_ltypes(bounds, grcflags, ltypes, include_inactive) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
logical, intent(in) :: grcflags(bounds%begg:)
integer, intent(in) :: ltypes(:)
logical, intent(in) :: include_inactive

Return Value type(filter_col_type)

public function col_filter_from_filter_and_logical_array(bounds, num_orig, filter_orig, logical_col) result(filter)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
integer, intent(in) :: num_orig
integer, intent(in) :: filter_orig(:)
logical, intent(in) :: logical_col(bounds%begc:)

Return Value type(filter_col_type)