[Paraview] CoProcessing needed fields

2012-11-07 Thread Tim Gallagher
Hi, I see in the example code for ParaView/CoProcessing/Adaptors/FortranAdaptors/PhastaAdaptor/PhastaAdaptor.cxx calls like: vtkCPInputDataDescription* idd = ParaViewCoProcessing::GetCoProcessorData()->GetInputDescriptionByName("input"); ... if(idd->IsFieldNeeded("velocity")) {

Re: [Paraview] CoProcessing needed fields

2012-11-08 Thread Andy Bauer
Hi Tim, This should get set in the RequestDataDescription method in the generated Python script. When I first did it I thought we'd easily be able to figure out which fields were needed in order to update all of the required pipelines and/or views. Unfortunately this isn't trivial in VTK so basica

Re: [Paraview] CoProcessing needed fields

2012-11-08 Thread Tim Gallagher
t. I can certainly send my adaptor code and python script if it helps clarify. Thanks again, Tim - Original Message - From: "Andy Bauer" To: "tim gallagher" Cc: "ParaView list" Sent: Thursday, November 8, 2012 6:20:01 PM Subject: Re: [Paraview] CoPro

Re: [Paraview] CoProcessing needed fields

2012-11-08 Thread Andy Bauer
e Fortran API, I call the ClearFieldDataFromGrid which may get > rid of the fields that Paraview told it the pipeline needs. > > I could be misunderstanding something, I've never used VTK before this > little project attempt. I can certainly send my adaptor code and python > s

Re: [Paraview] CoProcessing needed fields

2012-11-08 Thread Tim Gallagher
thing horribly wrong... But it works when I modified the script as you see in cpScript.py. Thanks, Tim - Original Message - From: "Andy Bauer" To: "tim gallagher" Cc: "ParaView list" Sent: Thursday, November 8, 2012 7:47:50 PM Subject: Re: [Paraview]

Re: [Paraview] CoProcessing needed fields

2012-11-09 Thread Tim Gallagher
quot;Andy Bauer" To: "tim gallagher" Cc: "ParaView list" Sent: Friday, November 9, 2012 4:21:48 PM Subject: Re: [Paraview] CoProcessing needed fields I can't tell for sure but what are you using as inputName in ParaViewCoProcessor.cxx? It should be 'i

Re: [Paraview] CoProcessing needed fields

2012-11-13 Thread Andy Bauer
ace > file? > > Tim > > -- > *From: *"Andy Bauer" > *To: *"tim gallagher" > *Cc: *"ParaView list" > *Sent: *Friday, November 9, 2012 4:21:48 PM > > *Subject: *Re: [Paraview] CoProcessing needed fields > >