219 COM_Type getDataItemType;
220 std::string getDataItemUnits;
224 name =
"ELMModule.Displacements";
225 COM_get_dataitem(name, &getDataItemLoc, &getDataItemType,
226 &
nDisp, &getDataItemUnits);
227 std::cout <<
"Rank #" <<
myRank
228 <<
", ELMModuleDriver:main: Displacement Get DataItem"
230 std::cout <<
"Rank #" <<
myRank
231 <<
", ELMModuleDriver:main: getDataItemLoc: " << getDataItemLoc << std::endl;
232 std::cout <<
"Rank #" <<
myRank
233 <<
", ELMModuleDriver:main: getDataItemType: " << getDataItemType << std::endl;
234 std::cout <<
"Rank #" <<
myRank
235 <<
", ELMModuleDriver:main: arrayLength: " <<
nDisp << std::endl;
236 std::cout <<
"Rank #" <<
myRank
237 <<
", ELMModuleDriver:main: getDataItemUnits: " << getDataItemUnits << std::endl;
240 if (getDataItemLoc ==
'e' || getDataItemLoc ==
'E') {
242 }
else if (getDataItemLoc ==
'n' || getDataItemLoc ==
'N') {
245 std::cout <<
"ELMModuleDriver:main: Unknown Data Item Location" << std::endl;
248 if (getDataItemType == COM_DOUBLE_PRECISION) {
251 std::cout <<
"ELMModuleDriver:main: Unknown Data Item Type" << std::endl;
255 COM_get_array(
"ELMModule.Displacements",
myPaneId, &
Disp);
257 name =
"ELMModule.Loads";
258 COM_get_dataitem(name, &getDataItemLoc, &getDataItemType,
259 &
nLoads, &getDataItemUnits);
260 std::cout <<
"Rank #" <<
myRank
261 <<
", ELMModuleDriver:main: Load Get DataItem"
263 std::cout <<
"Rank #" <<
myRank
264 <<
", ELMModuleDriver:main: getDataItemLoc: " << getDataItemLoc << std::endl;
265 std::cout <<
"Rank #" <<
myRank
266 <<
", ELMModuleDriver:main: getDataItemType: " << getDataItemType << std::endl;
267 std::cout <<
"Rank #" <<
myRank
268 <<
", ELMModuleDriver:main: arrayLength: " <<
nLoads << std::endl;
269 std::cout <<
"Rank #" <<
myRank
270 <<
", ELMModuleDriver:main: getDataItemUnits: " << getDataItemUnits << std::endl;
272 if (getDataItemLoc ==
'e' || getDataItemLoc ==
'E') {
274 }
else if (getDataItemLoc ==
'n' || getDataItemLoc ==
'N') {
277 std::cout <<
"ELMModuleDriver:main: Unknown Data Item Location" << std::endl;
280 if (getDataItemType == COM_DOUBLE_PRECISION) {
283 std::cout <<
"ELMModuleDriver:main: Unknown Data Item Type" << std::endl;
289 name =
"ELMModule.Pressures";
290 COM_get_dataitem(name, &getDataItemLoc, &getDataItemType,
291 &
nPress, &getDataItemUnits);
292 std::cout <<
"Rank #" <<
myRank
293 <<
", ELMModuleDriver:main: Pressures Get DataItem"
295 std::cout <<
"Rank #" <<
myRank
296 <<
", ELMModuleDriver:main: getDataItemLoc: " << getDataItemLoc << std::endl;
297 std::cout <<
"Rank #" <<
myRank
298 <<
", ELMModuleDriver:main: getDataItemType: " << getDataItemType << std::endl;
299 std::cout <<
"Rank #" <<
myRank
300 <<
", ELMModuleDriver:main: arrayLength: " <<
nPress << std::endl;
301 std::cout <<
"Rank #" <<
myRank
302 <<
", ELMModuleDriver:main: getDataItemUnits: " << getDataItemUnits << std::endl;
304 if (getDataItemLoc ==
'e' || getDataItemLoc ==
'E') {
307 std::cout <<
"ELMModuleDriver:main: Unknown Data Item Location" << std::endl;
310 if (getDataItemType == COM_DOUBLE_PRECISION) {
313 std::cout <<
"ELMModuleDriver:main: Unknown Data Item Type" << std::endl;