Changeset 2967 for palm/trunk/SOURCE/pmc_interface_mod.f90
- Timestamp:
- Apr 13, 2018 11:22:08 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r2951 r2967 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: missing parallel cpp-directives added 28 ! 29 ! 2951 2018-04-06 09:05:08Z kanani 27 30 ! Add log_point_s for pmci_model_configuration 28 31 ! … … 745 748 INTEGER(iwp) :: ncpl !< number of nest domains 746 749 750 #if defined( __parallel ) 747 751 CALL location_message( 'setup the nested model configuration', .FALSE. ) 748 752 CALL cpu_log( log_point_s(79), 'pmci_model_config', 'start' ) … … 769 773 CALL cpu_log( log_point_s(79), 'pmci_model_config', 'stop' ) 770 774 CALL location_message( 'finished', .TRUE. ) 775 #endif 771 776 772 777 END SUBROUTINE pmci_modelconfiguration … … 3330 3335 END SUBROUTINE pmci_set_array_pointer 3331 3336 3337 3332 3338 INTEGER FUNCTION get_number_of_childs () 3339 3333 3340 IMPLICIT NONE 3334 3341 3342 #if defined( __parallel ) 3335 3343 get_number_of_childs = SIZE( pmc_parent_for_child ) - 1 3344 #else 3345 get_number_of_childs = 0 3346 #endif 3336 3347 3337 3348 RETURN 3349 3338 3350 END FUNCTION get_number_of_childs 3339 3351 3352 3340 3353 INTEGER FUNCTION get_childid (id_index) 3354 3341 3355 IMPLICIT NONE 3342 3356 3343 3357 INTEGER,INTENT(IN) :: id_index 3344 3358 3359 #if defined( __parallel ) 3345 3360 get_childid = pmc_parent_for_child(id_index) 3361 #else 3362 get_childid = 0 3363 #endif 3346 3364 3347 3365 RETURN 3366 3348 3367 END FUNCTION get_childid 3368 3349 3369 3350 3370 SUBROUTINE get_child_edges (m, lx_coord, lx_coord_b, rx_coord, rx_coord_b, &
Note: See TracChangeset
for help on using the changeset viewer.