Commit afa4d3ac authored by js9's avatar js9

disable streaming in the vector plot if nvectors is requested instead

of an explicit stride.  (this mode now requires parallel communication.)

git-svn-id: 18c085ea-50e0-402c-830e-de6fd14e8384
parent fe4a90c6
......@@ -445,6 +445,10 @@ avtVectorFilter::SetMagVarName(const string &mname)
// If we're asked to limit the vectors to one per original node/zone,
// also add the original node/zone arrays.
// Jeremy Meredith, Tue Jul 15 10:47:51 EDT 2008
// Disable streaming if we need to calculate a stride based on the
// number of requested vectors and the number of domains.
// ****************************************************************************
......@@ -474,6 +478,11 @@ avtVectorFilter::ModifyContract(avtContract_p contract)
rv = new avtContract(contract, nds);
// If we're not using the stride, then we have to calculate
// the per-domain vectorc count by dividing by the number of
// domains, which we can't calculate if we're streaming.
if (!useStride)
avtDataAttributes &data = GetInput()->GetInfo().GetAttributes();
if (contract->GetDataRequest()->MayRequireZones() ||
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment