16 source_monc, operator_result_values)
19 type(
map_type),
intent(inout) :: action_attributes
20 integer,
intent(in) :: source_monc_location, source_monc
21 real(kind=
default_precision),
dimension(:),
allocatable,
intent(inout) :: operator_result_values
23 character(len=STRING_LENGTH) :: location_local, val, val_local
24 type(
data_values_type),
pointer :: val_local_values, val_values, location_local_values
33 allocate(operator_result_values(
size(location_local_values%values)))
34 do i=1,
size(val_local_values%values)
35 if (val_local_values%values(i) .eq. val_values%values(i))
then
36 operator_result_values(i)=location_local_values%values(i)
38 operator_result_values(i)=-1.0_default_precision
44 type(
map_type),
intent(inout) :: action_attributes
46 character(len=STRING_LENGTH) :: location_local, val, val_local
56 character(len=*),
intent(in) :: field_str
57 character(len=*),
intent(out) :: location_local, val, val_local
60 character(len=STRING_LENGTH) :: artefacts(3)
61 integer :: i, field_length, start_point, index_loc
63 field_length=len(trim(field_str))
70 artefacts(index_loc)=trim(adjustl(field_str(start_point: i-1)))
75 if (start_point .lt. i) artefacts(index_loc)=trim(adjustl(field_str(start_point: i-1)))
76 location_local=artefacts(1)
78 val_local=artefacts(3)