|
|
@ -526,9 +526,11 @@ contains
|
|
|
|
allocate(tmp,stat=info,mold=psb_c_get_base_vect_default())
|
|
|
|
allocate(tmp,stat=info,mold=psb_c_get_base_vect_default())
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
if (allocated(x%v)) then
|
|
|
|
if (allocated(x%v)) then
|
|
|
|
call x%v%sync()
|
|
|
|
if (allocated(x%v%v)) then
|
|
|
|
if (info == psb_success_) call tmp%bld(x%v%v)
|
|
|
|
call x%v%sync()
|
|
|
|
call x%v%free(info)
|
|
|
|
if (info == psb_success_) call tmp%bld(x%v%v)
|
|
|
|
|
|
|
|
call x%v%free(info)
|
|
|
|
|
|
|
|
endif
|
|
|
|
end if
|
|
|
|
end if
|
|
|
|
call move_alloc(tmp,x%v)
|
|
|
|
call move_alloc(tmp,x%v)
|
|
|
|
|
|
|
|
|
|
|
|