From cba1325a7f5a10e62de91195a92d0d5cf9db6227 Mon Sep 17 00:00:00 2001 From: DuncanMcGeehan <43180955+DuncanMcGeehan@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:48:18 -0400 Subject: [PATCH] [FIX] Update PVD recorder to handle one element request per "eleResponse" input This change allows the user to request multiple element outputs from a single PVD recorder. Each time the 'eleResponse' keyword is identified it is treated independently of previous requests. The previous implementation resulted in all requests following the keyword to be concatenated and only the first request to actually be output in the PVD recorder with an incorrect name. --- SRC/recorder/PVDRecorder.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/SRC/recorder/PVDRecorder.cpp b/SRC/recorder/PVDRecorder.cpp index b6cee4212d..d7e35202a6 100644 --- a/SRC/recorder/PVDRecorder.cpp +++ b/SRC/recorder/PVDRecorder.cpp @@ -111,10 +111,9 @@ void* OPS_PVDRecorder() } PVDRecorder::EleData edata; numdata = OPS_GetNumRemainingInputArgs(); - edata.resize(numdata); - for(int i=0; i