本文整理汇总了C++中avtContract_p类的典型用法代码示例。如果您正苦于以下问题:C++ avtContract_p类的具体用法?C++ avtContract_p怎么用?C++ avtContract_p使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了avtContract_p类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: strlen
avtContract_p
avtLagrangianFilter::ModifyContract(avtContract_p in_contract)
{
avtContract_p rv;
const char *pipelineVariable = in_contract->GetDataRequest()->GetVariable();
if (strncmp(pipelineVariable, "operators/Lagrangian", strlen("operators/Lagrangian")) == 0)
{
outVarName = pipelineVariable;
const char *justTheVar = pipelineVariable + strlen("operators/Lagrangian");
avtDataRequest_p dr = new avtDataRequest(in_contract->GetDataRequest(), justTheVar);
rv = new avtContract(in_contract, dr);
}
else
{
rv = new avtContract(in_contract);
}
if (atts.GetYAxisSample() == LagrangianAttributes::Variable)
{
avtDataRequest_p in_dr = rv->GetDataRequest();
avtDataRequest_p out_dr = new avtDataRequest(in_dr);
out_dr->AddSecondaryVariable(atts.GetVariable().c_str());
avtContract_p out_contract;
out_contract = new avtContract(rv, out_dr);
return avtPICSFilter::ModifyContract(out_contract);
}
else
return avtPICSFilter::ModifyContract(rv);
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:29,代码来源:avtLagrangianFilter.C
示例2: if
void
avtOriginatingSource::InitPipeline(avtContract_p spec)
{
if (!ArtificialPipeline())
{
if (!CanDoStreaming())
{
spec->NoStreaming();
}
//
// Determine if the data specification is *all* of the data. This is
// important to things like facelists.
//
avtDataRequest_p data = spec->GetDataRequest();
bool uad = data->GetSIL().UsesAllData();
GetOutput()->GetInfo().GetValidity().SetUsingAllData(uad);
bool uadom = data->GetSIL().UsesAllDomains();
GetOutput()->GetInfo().GetValidity().SetUsingAllDomains(uadom);
if (initializeProgressCallback != NULL &&
streamingCheckFunction != NULL)
{
//
// Each filter is a stage, plus a stage to get the data.
// With streaming, there are only calculate/send stages.
//
int nstages;
if (streamingCheckFunction(streamingCheckFunctionArgs,spec))
{
nstages = 1;
GetOutput()->GetInfo().GetValidity().SetWhetherStreaming(true);
}
else
{
int sourceStages = NumStagesForFetch(data);
nstages = spec->GetNFilters() + sourceStages;
GetOutput()->GetInfo().GetValidity().SetWhetherStreaming(false);
if (numberOfExecutions > 1)
nstages *= numberOfExecutions;
}
bool shouldIssue = false;
if (numberOfExecutions <= 1)
shouldIssue = true;
else if (numberOfExecutions > 1)
{
if (!haveIssuedProgress)
{
shouldIssue = true;
haveIssuedProgress = true;
}
}
if (shouldIssue)
initializeProgressCallback(initializeProgressCallbackArgs,
nstages);
}
}
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt26RC_Trunk,代码行数:59,代码来源:avtOriginatingSource.C
示例3: avtContract
avtContract_p
avtChannelCommFilter::ModifyContract(avtContract_p c)
{
const char *meshname = c->GetDataRequest()->GetVariable()+strlen("operators/ChannelComm/");
//avtDataRequest_p dr = new avtDataRequest(c->GetDataRequest(), meshname);
////dr->AddSecondaryVariable(atts.GetVelocity().c_str());
avtDataRequest_p dr = new avtDataRequest(c->GetDataRequest(), atts.GetVelocity().c_str());
return new avtContract(c, dr);
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:9,代码来源:avtChannelCommFilter.C
示例4:
avtContract_p
avtStructuredChunkDataTreeIterator::ModifyContract(avtContract_p spec)
{
downstreamRectilinearMeshOptimizations =
spec->GetHaveRectilinearMeshOptimizations();
downstreamCurvilinearMeshOptimizations =
spec->GetHaveCurvilinearMeshOptimizations();
downstreamGhostType =
spec->GetDataRequest()->GetDesiredGhostDataType();
return spec;
}
开发者ID:OSCCAR-PFM,项目名称:OSCCAR-dev,代码行数:12,代码来源:avtStructuredChunkDataTreeIterator.C
示例5: strlen
void
avtConnectedComponentsFilter::InferVariableNameFromContract(avtContract_p c)
{
avtDataRequest_p in_dr = c->GetDataRequest();
bool foundIt = false;
if (strncmp(in_dr->GetVariable(), "operators/ConnectedComponents/",
strlen("operators/ConnectedComponents/")) == 0)
{
foundIt = true;
varname = in_dr->GetVariable()+strlen("operators/ConnectedComponents/");
}
if (!foundIt)
{
std::vector<CharStrRef> vars2nd = in_dr->GetSecondaryVariablesWithoutDuplicates();
for (size_t i = 0 ; i < vars2nd.size() ; i++)
if (strncmp(*(vars2nd[i]), "operators/ConnectedComponents/",
strlen("operators/ConnectedComponents/")) == 0)
{
foundIt = true;
varname = *(vars2nd[i])+strlen("operators/ConnectedComponents/");
}
}
if (!foundIt)
{
EXCEPTION1(VisItException, "Unable to determine variable name from contract");
}
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:30,代码来源:avtConnectedComponentsFilter.C
示例6:
avtContract_p
avtMatvfExpression::ModifyContract(avtContract_p spec)
{
// request post ghost material info, as long as we are not doing mir
if( !spec->GetDataRequest()->MustDoMaterialInterfaceReconstruction() )
{
spec->GetDataRequest()->SetNeedPostGhostMaterialInfo(true);
doPostGhost = true;
}
else
{
doPostGhost = false;
}
return spec;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt27RC_Trunk,代码行数:16,代码来源:avtMatvfExpression.C
示例7: LoadBalanceSchemeToString
LoadBalanceScheme
LoadBalancer::DetermineAppropriateScheme(avtContract_p input)
{
//
// See if we have already have decided. If so, just return our cached
// decision.
//
int index = input->GetPipelineIndex();
const LBInfo &lbinfo = pipelineInfo[index];
std::string dbname = lbinfo.db;
avtDatabase *db = dbMap[dbname];
avtDataRequest_p data = input->GetDataRequest();
avtDatabaseMetaData *md = db->GetMetaData(db->GetMostRecentTimestep());
string meshName;
TRY
{
meshName = md->MeshForVar(data->GetVariable());
}
CATCHALL
{
// Probably a CMFE.
return scheme;
}
ENDTRY;
if (md->GetFormatCanDoDomainDecomposition())
return LOAD_BALANCE_DBPLUGIN_DYNAMIC;
const avtMeshMetaData *mmd = md->GetMesh(meshName);
if (mmd && mmd->loadBalanceScheme != LOAD_BALANCE_UNKNOWN)
{
debug1 << "Default load balance scheme \""
<< LoadBalanceSchemeToString(scheme).c_str() << "\""
<< " being overridden in favor of \""
<< LoadBalanceSchemeToString(mmd->loadBalanceScheme).c_str() << "\""
<< " for mesh \"" << meshName.c_str() << "\"" << endl;
return mmd->loadBalanceScheme;
}
return scheme;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:45,代码来源:LoadBalancer.C
示例8:
avtContract_p
avtNMatsExpression::ModifyContract(avtContract_p spec)
{
avtContract_p rv =
avtSingleInputExpressionFilter::ModifyContract(spec);
avtDataRequest_p ds = spec->GetDataRequest();
ds->TurnZoneNumbersOn();
return rv;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt26RC_Trunk,代码行数:11,代码来源:avtNMatsExpression.C
示例9: avtDataRequest
avtContract_p
avtStreamlinePlot::EnhanceSpecification(avtContract_p in_contract)
{
avtDataRequest_p in_dr = in_contract->GetDataRequest();
const char *var = in_dr->GetVariable();
avtDataRequest_p out_dr = new avtDataRequest(in_dr, "colorVar");
out_dr->AddSecondaryVariable(var);
out_dr->SetOriginalVariable(var);
avtContract_p out_contract = new avtContract(in_contract, out_dr);
return out_contract;
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:11,代码来源:avtStreamlinePlot.C
示例10:
std::string
LoadBalancer::GetMeshName(avtContract_p input, int stateIndex)
{
const LBInfo &lbinfo = pipelineInfo[input->GetPipelineIndex()];
avtDatabase *db = dbMap[lbinfo.db];
avtDataRequest_p data = input->GetDataRequest();
avtDatabaseMetaData *md = db->GetMetaData(stateIndex);
string meshName;
TRY
{
meshName = md->MeshForVar(data->GetVariable());
}
CATCHALL
{
}
ENDTRY
return meshName;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:21,代码来源:LoadBalancer.C
示例11: avtContract
avtContract_p
avtResampleFilter::ModifyContract(avtContract_p oldataRequest)
{
//
// Best copy constructor we have??
//
avtContract_p spec = new avtContract(oldataRequest,
oldataRequest->GetDataRequest());
//
// First tell the file format reader that we are going to be doing a
// resample selection.
//
avtResampleSelection *sel = new avtResampleSelection;
int counts[3];
counts[0] = atts.GetWidth();
counts[1] = atts.GetHeight();
counts[2] = atts.GetDepth();
sel->SetCounts(counts);
double starts[3];
starts[0] = atts.GetMinX();
starts[1] = atts.GetMinY();
starts[2] = atts.GetMinZ();
sel->SetStarts(starts);
double stops[3];
stops[0] = atts.GetMaxX();
stops[1] = atts.GetMaxY();
stops[2] = atts.GetMaxZ();
sel->SetStops(stops);
selID = spec->GetDataRequest()->AddDataSelection(sel);
spec->NoStreaming();
spec->SetHaveRectilinearMeshOptimizations(true);
spec->GetDataRequest()->SetDesiredGhostDataType(NO_GHOST_DATA);
if (atts.GetUseArbitrator())
{
if (atts.GetArbitratorVarName() != "default")
spec->GetDataRequest()->
AddSecondaryVariable(atts.GetArbitratorVarName().c_str());
}
if (primaryVariable != NULL)
{
delete [] primaryVariable;
}
const char *pv = spec->GetDataRequest()->GetVariable();
primaryVariable = new char[strlen(pv)+1];
strcpy(primaryVariable, pv);
return spec;
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:49,代码来源:avtResampleFilter.C
示例12: strlen
avtContract_p
avtExtremeValueAnalysisFilter::ModifyContract(avtContract_p in_contract)
{
avtContract_p rv;
if (strncmp(pipelineVariable, "operators/ExtremeValueAnalysis", strlen("operators/ExtremeValueAnalysis")) == 0)
{
outVarName = pipelineVariable;
const char *justTheVar = pipelineVariable + strlen("operators/ExtremeValueAnalysis/");
avtDataRequest_p dr = new avtDataRequest(in_contract->GetDataRequest(), justTheVar);
rv = new avtContract(in_contract, dr);
}
else
{
rv = new avtContract(in_contract);
}
return rv;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:17,代码来源:avtExtremeValueAnalysisFilter.C
示例13: strlen
avtContract_p
avtPeaksOverThresholdFilter::ModifyContract(avtContract_p in_contract)
{
avtContract_p rv;
if (strncmp(pipelineVariable, "operators/PeaksOverThreshold", strlen("operators/PeaksOverThreshold")) == 0)
{
outVarName = pipelineVariable;
const char *justTheVar = pipelineVariable + strlen("operators/PeaksOverThreshold/");
avtDataRequest_p dr = new avtDataRequest(in_contract->GetDataRequest(), justTheVar);
rv = new avtContract(in_contract, dr);
}
else
{
rv = new avtContract(in_contract);
}
return rv;
}
开发者ID:ahota,项目名称:visit_intel,代码行数:17,代码来源:avtPeaksOverThresholdFilter.C
示例14: strlen
avtContract_p
avtLineoutFilter::ModifyContract(avtContract_p in_contract)
{
avtContract_p rv;
const char *opLineout = "operators/Lineout/";
if (strncmp(pipelineVariable, opLineout, strlen(opLineout)) == 0)
{
const char *var = pipelineVariable + strlen(opLineout);
avtDataRequest_p dr = new avtDataRequest(in_contract->GetDataRequest(), var);
rv = new avtContract(in_contract, dr);
}
else
{
rv = new avtContract(in_contract);
}
useOriginalCells = false;
if (!GetInput()->GetInfo().GetValidity().GetZonesPreserved())
{
rv->GetDataRequest()->TurnZoneNumbersOn();
useOriginalCells = true;
return rv;
}
//
// Get the interval tree.
//
avtIntervalTree *it = GetMetaData()->GetSpatialExtents();
if (it == NULL)
{
return rv;
}
double rayDir[3] = {point2[0]-point1[0], point2[1]-point1[1],
point2[2]-point1[2]};
intVector domains;
it->GetElementsList(point1, rayDir, domains);
rv->GetDataRequest()->GetRestriction()->RestrictDomains(domains);
return rv;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt26RC_Trunk,代码行数:42,代码来源:avtLineoutFilter.C
示例15: strlen
void
avtFluxFilter::InferVariableNameFromContract(avtContract_p c)
{
avtDataRequest_p in_dr = c->GetDataRequest();
bool foundIt = false;
if (strncmp(in_dr->GetVariable(), "operators/Flux/",
strlen("operators/Flux/")) == 0)
{
foundIt = true;
if (atts.GetFlowField() == "default")
{
EXCEPTION1(VisItException, "You can't set the flow field as \"default\" "
"since the default field is not a vector.");
}
if (atts.GetWeight() && atts.GetWeightField() == "default")
{
EXCEPTION1(VisItException, "You can't set the weighting field as \"default\" "
"since that would lead to a recursive definition.");
}
varname = in_dr->GetVariable()+strlen("operators/Flux/");
}
if (!foundIt)
{
std::vector<CharStrRef> vars2nd = in_dr->GetSecondaryVariablesWithoutDuplicates();
for (size_t i = 0 ; i < vars2nd.size() ; i++)
if (strncmp(*(vars2nd[i]), "operators/Flux/",
strlen("operators/Flux/")) == 0)
{
foundIt = true;
varname = *(vars2nd[i])+strlen("operators/Flux/");
}
}
if (!foundIt)
{
EXCEPTION1(VisItException, "Unable to determine variable name from contract");
}
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:40,代码来源:avtFluxFilter.C
示例16: EXCEPTION2
avtContract_p
avtApplyDataBinningExpression::ModifyContract(avtContract_p spec)
{
if (theDataBinning == NULL)
{
// We should have failed before getting to this point...
EXCEPTION2(ExpressionException, outputVariableName,
"Could not locate the data binning.");
}
avtDataRequest_p ds = spec->GetDataRequest();
avtDataRequest_p new_ds = new avtDataRequest(ds);
avtDataBinningFunctionInfo *info = theDataBinning->GetFunctionInfo();
int nVars = info->GetDomainNumberOfTuples();
for (int i = 0 ; i < nVars ; i++)
new_ds->AddSecondaryVariable(info->GetDomainTupleName(i).c_str());
new_ds->AddSecondaryVariable(info->GetCodomainName().c_str());
avtContract_p rv = new avtContract(spec, new_ds);
rv = avtSingleInputExpressionFilter::ModifyContract(rv);
return rv;
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:22,代码来源:avtApplyDataBinningExpression.C
示例17: GetTypedInput
avtContract_p
avtSurfaceFilter::ModifyContract(avtContract_p spec)
{
double dataExtents[2];
double spatialExtents[6];
if (TryDataExtents(dataExtents))
{
avtDataset_p input = GetTypedInput();
avtDatasetExaminer::GetSpatialExtents(input, spatialExtents);
UnifyMinMax(spatialExtents,6);
CalculateScaleValues(dataExtents, spatialExtents);
stillNeedExtents = false;
}
else
{
spec->NoStreaming();
}
if (spec->GetDataRequest()->MayRequireZones())
{
spec->GetDataRequest()->TurnZoneNumbersOn();
}
if (spec->GetDataRequest()->MayRequireNodes())
{
spec->GetDataRequest()->TurnNodeNumbersOn();
}
//
// We will need the ghost zones so that we can interpolate along domain
// boundaries and get no cracks in our isosurface.
//
const char *varname = spec->GetDataRequest()->GetVariable();
avtDataAttributes &in_atts = GetInput()->GetInfo().GetAttributes();
bool skipGhost = false;
if (in_atts.ValidVariable(varname) &&
in_atts.GetCentering(varname) == AVT_NODECENT)
skipGhost = true;
if (!skipGhost)
spec->GetDataRequest()->SetDesiredGhostDataType(GHOST_ZONE_DATA);
return spec;
}
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:41,代码来源:avtSurfaceFilter.C
示例18: varsMissingData
avtContract_p
avtMissingDataFilter::ModifyContract(avtContract_p c0)
{
canDoCollectiveCommunication = ! c0->DoingOnDemandStreaming();
// Store the contract.
contract = new avtContract(c0);
if (generateMode)
{
// Determine the list of variables that are missing data.
stringVector varsMissingData(MissingDataVariables(contract->GetDataRequest(), &metadata));
if(!varsMissingData.empty())
{
// Turn on both Nodes and Zones, to prevent another re-execution if
// user switches between zone and node pick.
contract->GetDataRequest()->TurnZoneNumbersOn();
contract->GetDataRequest()->TurnNodeNumbersOn();
}
}
// Return a copy of the modified contract.
return new avtContract(contract);
}
开发者ID:burlen,项目名称:visit_vtk_7_src,代码行数:24,代码来源:avtMissingDataFilter.C
示例19: strcpy
void
avtDatasetToDatasetFilter::ExamineContract(avtContract_p s)
{
avtDataRequest_p ds = s->GetDataRequest();
//
// We need to know what the pipeline variable is so we can switch it
// back when we are done. It's also a nice thing to keep track of.
//
if (pipelineVariable != NULL)
delete[]pipelineVariable;
const char *var = ds->GetVariable();
pipelineVariable = new char[strlen(var) + 1];
strcpy(pipelineVariable, var);
if (switchVariables)
{
//
// Determine if the pipeline already knows if it needs the
// active variable.
//
bool haveVariable = false;
if (strcmp(activeVariable, pipelineVariable) == 0)
{
haveVariable = true;
}
const std::vector<CharStrRef> &var2nd = ds->GetSecondaryVariables();
for (int i = 0; i < var2nd.size(); i++)
{
const char *v2 = *(var2nd[i]);
if (strcmp(v2, activeVariable) == 0)
{
haveVariable = true;
}
}
//
// Tell the pipeline about our active variable (if necessary) and
// decide if we should remove the active variable when we are done.
//
if (!haveVariable)
{
ds->AddSecondaryVariable(activeVariable);
removeActiveVariableWhenDone = true;
debug5 << GetType() << ": ExamineContract: Setting primary "
<< "variable " << activeVariable
<< " to be removed at PostExecute." << endl;
} else
{
removeActiveVariableWhenDone = false;
debug5 << GetType() << ": ExamineContract: Leaving primary "
<< "variable " << activeVariable
<< " where it is at PostExecute." << endl;
}
}
// Iterate through the secondary variables.
// Determine if the pipline already knows about each of them.
for (int i = 0; i < secondaryVarList.size(); i++)
{
bool haveVariable = false;
if (strcmp(pipelineVariable, secondaryVarList[i]) == 0)
{
haveVariable = true;
}
const std::vector<CharStrRef> &var2nd = ds->GetSecondaryVariables();
for (int j = 0; j < var2nd.size(); j++)
{
const char *v2 = *(var2nd[j]);
if (strcmp(v2, secondaryVarList[i]) == 0)
haveVariable = true;
}
if (!haveVariable)
{
ds->AddSecondaryVariable(secondaryVarList[i]);
removeSecondaryVariable[i] = true;
debug5 << GetType() << ": ExamineContract: Setting secondary "
<< "variable " << secondaryVarList[i]
<< " to be removed at PostExecute." << endl;
} else
{
removeSecondaryVariable[i] = false;
debug5 << GetType() << ": ExamineContract: Leaving secondary "
<< "variable " << secondaryVarList[i]
<< " where it is at PostExecute." << endl;
}
}
}
开发者ID:EricAlex,项目名称:ThirdParty-dev,代码行数:92,代码来源:avtDatasetToDatasetFilter.C
示例20: avtDataRequest
avtDataRequest_p
LoadBalancer::Reduce(avtContract_p input)
{
avtDataRequest_p data = input->GetDataRequest();
//
// It is difficult for the load balancer to communicate with the originating
// source because it is done through callbacks.
// So we do it by setting a Boolean in the contract. Since there is only
// one path that involves actually doing data replication, and many that don't,
// we will unset the Boolean now and reset it in the case we actually do
// data replication.
//
#ifdef PARALLEL
// only used in parallel
bool dataReplicationRequested = input->ReplicateSingleDomainOnAllProcessors();
#endif
input->SetReplicateSingleDomainOnAllProcessors(false);
//
// Pipeline index 0 is reserved for meta-data. It should already be
// load balanced.
//
if (input->GetPipelineIndex() == 0)
{
return data;
}
//
// Assess load balancing specially for serial engines.
//
if (nProcs <= 1)
{
bool doDynLB = CheckDynamicLoadBalancing(input);
if (!doDynLB && scheme != LOAD_BALANCE_STREAM)
{
pipelineInfo[input->GetPipelineIndex()].complete = true;
return data;
}
else
{
avtDataObjectSource::RegisterProgressCallback(NULL,NULL);
avtSILRestriction_p orig_silr = data->GetRestriction();
avtSILRestriction_p silr = new avtSILRestriction(orig_silr);
avtDataRequest_p new_data =
new avtDataRequest(data, silr);
avtSILRestrictionTraverser trav(silr);
vector<int> list;
trav.GetDomainList(list);
if (pipelineInfo[input->GetPipelineIndex()].current < 0)
pipelineInfo[input->GetPipelineIndex()].current = 0;
int domain = list[pipelineInfo[input->GetPipelineIndex()].current];
int sggDomain = avtStreamingGhostGenerator::LBGetNextDomain();
if (sggDomain >= 0)
domain = sggDomain;
vector<int> domainList(1, domain);
new_data->GetRestriction()
->RestrictDomainsForLoadBalance(domainList);
UpdateProgress(pipelineInfo[input->GetPipelineIndex()].current,
(int)list.size());
pipelineInfo[input->GetPipelineIndex()].current++;
if (pipelineInfo[input->GetPipelineIndex()].current == (int)list.size())
pipelineInfo[input->GetPipelineIndex()].complete = true;
return new_data;
}
}
#ifdef PARALLEL
avtSILRestriction_p orig_silr = data->GetRestriction();
avtSILRestriction_p silr = new avtSILRestriction(orig_silr);
avtDataRequest_p new_data = new avtDataRequest(data, silr);
avtSILRestrictionTraverser trav(silr);
// set up MPI message tags
static int lastDomDoneMsg = GetUniqueMessageTag();
static int newDomToDoMsg = GetUniqueMessageTag();
// Make sure that we have domain to file mapping available.
LBInfo &lbInfo(pipelineInfo[input->GetPipelineIndex()]);
std::string meshName = GetMeshName(input, dbState[lbInfo.db]);
GetIOInformation(lbInfo.db, dbState[lbInfo.db], meshName);
if (scheme == LOAD_BALANCE_STREAM)
{
if (pipelineInfo[input->GetPipelineIndex()].current < 0)
{
pipelineInfo[input->GetPipelineIndex()].current = 0;
//
// We probably want to do something more sophisticated in the future
// (like walking through a SIL). For now, just use the "chunks"
// mechanism set up with convenience methods.
//
vector<int> list;
trav.GetDomainList(list);
//.........这里部分代码省略.........
开发者ID:HarinarayanKrishnan,项目名称:VisIt28RC_Trunk,代码行数:101,代码来源:LoadBalancer.C
注:本文中的avtContract_p类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论