Changeset 12168 for issm/branches/trunk-jpl-damage/src/c/modules/ElementResponsex/ElementResponsex.cpp
- Timestamp:
- 05/01/12 17:28:47 (13 years ago)
- Location:
- issm/branches/trunk-jpl-damage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage
- Property svn:ignore
-
old new 7 7 config.status 8 8 configure 9 doxygen10 9 ISSM.paf 11 10 ISSM.ppf 12 11 ISSM.ppf_cache 13 12 libtool 14 list15 13 Makefile 16 14 Makefile.in 17 15 stamp-h1 18 16 svn-commit* 19 nightlylog
-
- Property svn:mergeinfo changed
/issm/trunk merged: 11526,11533,11681-11682,11710,11778-11779,11995 /issm/trunk-jpl merged: 11992-11994,11996-12003,12005-12113,12115-12161,12163-12166
- Property svn:ignore
-
issm/branches/trunk-jpl-damage/src/c/modules/ElementResponsex/ElementResponsex.cpp
r10703 r12168 37 37 38 38 /*Broadcast whether we found the element: */ 39 #ifdef _HAVE_MPI_ 39 40 MPI_Allreduce ( &found,&sumfound,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD); 40 41 if(!sumfound)_error_("%s%i%s","could not find material with id",index," to compute ElementResponse"); 42 #endif 41 43 42 44 /*Ok, we found the element, compute responseocity: */ … … 46 48 47 49 /*Broadcast and plug into response: */ 50 #ifdef _HAVE_MPI_ 48 51 MPI_Allreduce ( &cpu_found,&cpu_found,1,MPI_INT,MPI_MAX,MPI_COMM_WORLD); 49 52 MPI_Bcast(&response,1,MPI_DOUBLE,cpu_found,MPI_COMM_WORLD); 53 #endif 50 54 51 55 *presponse=response;
Note:
See TracChangeset
for help on using the changeset viewer.