Refactor: Fix misspelling of "synchronize".

This commit is contained in:
Kristian Bendiksen 2024-04-04 09:16:57 +02:00
parent 873282b339
commit c074033dc2
12 changed files with 23 additions and 23 deletions

View File

@ -256,7 +256,7 @@ RimEclipseContourMapView* RicNewContourMapViewFeature::createEclipseContourMapFr
eclipseCase->contourMapCollection()->push_back( contourMap );
contourMap->syncronizeLocalAnnotationsFromGlobal();
contourMap->synchronizeLocalAnnotationsFromGlobal();
// Resolve references after contour map has been inserted into Rim structures
std::vector<caf::PdmFieldHandle*> fieldsWithFailingResolve;

View File

@ -238,7 +238,7 @@ RimFaultInView* RimFaultInViewCollection::findFaultByName( QString name )
}
//--------------------------------------------------------------------------------------------------
/// A comparing function used to sort Faults in the RimFaultCollection::syncronizeFaults() method
/// A comparing function used to sort Faults in the RimFaultCollection::synchronizeFaults() method
//--------------------------------------------------------------------------------------------------
bool faultComparator( const cvf::ref<RigFault>& a, const cvf::ref<RigFault>& b )
{
@ -252,7 +252,7 @@ bool faultComparator( const cvf::ref<RigFault>& a, const cvf::ref<RigFault>& b )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimFaultInViewCollection::syncronizeFaults()
void RimFaultInViewCollection::synchronizeFaults()
{
if ( !( parentView() && parentView()->mainGrid() ) ) return;

View File

@ -73,7 +73,7 @@ public:
void setShowOppositeFaultFaces( bool bEnabled );
void setShowFaultLabelWithFieldChanged( bool bEnabled );
void syncronizeFaults();
void synchronizeFaults();
bool isGridVisualizationMode() const;
bool shouldApplyCellFiltersToFaults() const;

View File

@ -688,7 +688,7 @@ void RimGridCrossPlotDataSet::createCurves( const RigEclipseCrossPlotResult& res
legendConfig()->scalarMapper()->majorTickValues( &tickValues );
}
// NB : Make sure iteration of curve and groups are syncronized with createCurves()
// NB : Make sure iteration of curve and groups are synchronized with createCurves()
for ( auto it = m_groupedResults.rbegin(); it != m_groupedResults.rend(); ++it )
{
auto [groupIndex, values] = *it;
@ -724,7 +724,7 @@ void RimGridCrossPlotDataSet::fillCurveDataInExistingCurves( const RigEclipseCro
}
else
{
// NB : Make sure iteration of curve and groups are syncronized with fillCurveDataInExistingCurves()
// NB : Make sure iteration of curve and groups are synchronized with fillCurveDataInExistingCurves()
auto curveIt = m_crossPlotCurves.begin();
auto groupIt = m_groupedResults.rbegin();
for ( ; curveIt != m_crossPlotCurves.end() && groupIt != m_groupedResults.rend(); ++curveIt, ++groupIt )
@ -768,7 +768,7 @@ void RimGridCrossPlotDataSet::createRegressionCurves( const RigEclipseCrossPlotR
legendConfig()->scalarMapper()->majorTickValues( &tickValues );
}
// NB : Make sure iteration of curve and groups are syncronized with createCurves()
// NB : Make sure iteration of curve and groups are synchronized with createCurves()
for ( auto it = m_groupedResults.rbegin(); it != m_groupedResults.rend(); ++it )
{
auto [groupIndex, values] = *it;
@ -808,7 +808,7 @@ void RimGridCrossPlotDataSet::fillCurveDataInExistingRegressionCurves( const Rig
}
else
{
// NB : Make sure iteration of curve and groups are syncronized with fillCurveDataInExistingCurves()
// NB : Make sure iteration of curve and groups are synchronized with fillCurveDataInExistingCurves()
auto curveIt = m_crossPlotRegressionCurves.begin();
auto groupIt = m_groupedResults.rbegin();
for ( ; curveIt != m_crossPlotRegressionCurves.end() && groupIt != m_groupedResults.rend(); ++curveIt, ++groupIt )

View File

@ -305,7 +305,7 @@ void RimIntersectionCollection::appendIntersectionAndUpdate( RimExtrudedCurveInt
intersection->setDepthOverride( m_depthThresholdOverridden );
intersection->setDepthOverrideParameters( m_depthUpperThreshold, m_depthLowerThreshold, m_depthFilterType() );
syncronize2dIntersectionViews();
synchronize2dIntersectionViews();
updateConnectedEditors();
Riu3DMainWindowTools::selectAsCurrentItem( intersection, allowActiveViewChange );
@ -326,7 +326,7 @@ void RimIntersectionCollection::appendIntersectionNoUpdate( RimExtrudedCurveInte
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimIntersectionCollection::syncronize2dIntersectionViews()
void RimIntersectionCollection::synchronize2dIntersectionViews()
{
auto ownerCase = firstAncestorOrThisOfTypeAsserted<RimCase>();
ownerCase->intersectionViewCollection()->syncFromExistingIntersections( true );
@ -427,7 +427,7 @@ void RimIntersectionCollection::fieldChangedByUi( const caf::PdmFieldHandle* cha
//--------------------------------------------------------------------------------------------------
void RimIntersectionCollection::onChildDeleted( caf::PdmChildArrayFieldHandle* childArray, std::vector<caf::PdmObjectHandle*>& referringObjects )
{
syncronize2dIntersectionViews();
synchronize2dIntersectionViews();
rebuild3dView();
}
@ -436,7 +436,7 @@ void RimIntersectionCollection::onChildDeleted( caf::PdmChildArrayFieldHandle* c
//--------------------------------------------------------------------------------------------------
void RimIntersectionCollection::onChildAdded( caf::PdmFieldHandle* containerForNewObject )
{
syncronize2dIntersectionViews();
synchronize2dIntersectionViews();
rebuild3dView();
}

View File

@ -66,7 +66,7 @@ public:
void updateIntersectionBoxGeometry();
void syncronize2dIntersectionViews();
void synchronize2dIntersectionViews();
void scheduleCreateDisplayModelAndRedraw2dIntersectionViews();
bool shouldApplyCellFiltersToIntersections() const;

View File

@ -1845,7 +1845,7 @@ RimAnnotationInViewCollection* Rim3dView::annotationCollection() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void Rim3dView::syncronizeLocalAnnotationsFromGlobal()
void Rim3dView::synchronizeLocalAnnotationsFromGlobal()
{
RimProject* proj = RimProject::current();
if ( proj && proj->activeOilField() )

View File

@ -195,7 +195,7 @@ public:
virtual void updateViewTreeItems( RiaDefines::ItemIn3dView itemType );
RimAnnotationInViewCollection* annotationCollection() const;
void syncronizeLocalAnnotationsFromGlobal();
void synchronizeLocalAnnotationsFromGlobal();
protected:
static void removeModelByName( cvf::Scene* scene, const cvf::String& modelName );

View File

@ -51,7 +51,7 @@ public:
// Fields:
caf::PdmField<QString> resultName;
caf::PdmField<QString> eclipseKeyword;
caf::PdmField<caf::FilePath> fileName; // ReadOnly Serves as key to syncronize
caf::PdmField<caf::FilePath> fileName; // ReadOnly Serves as key to synchronize
// read eclipse prop data and this inputProp object.
caf::PdmField<ResolveStateEnum> resolvedState; // ReadOnly and not writable

View File

@ -1109,7 +1109,7 @@ void RimEclipseView::onLoadDataAndUpdate()
m_propertyFilterCollection()->loadAndInitializePropertyFilters();
faultCollection()->syncronizeFaults();
faultCollection()->synchronizeFaults();
m_wellCollection->scaleWellDisks();
@ -1118,9 +1118,9 @@ void RimEclipseView::onLoadDataAndUpdate()
scheduleReservoirGridGeometryRegen();
m_simWellsPartManager->clearGeometryCache();
syncronizeWellsWithResults();
synchronizeWellsWithResults();
syncronizeLocalAnnotationsFromGlobal();
synchronizeLocalAnnotationsFromGlobal();
{
// Update simulation well fractures after well cell results are imported
@ -1586,7 +1586,7 @@ RimEclipseCase* RimEclipseView::eclipseCase() const
*/
//--------------------------------------------------------------------------------------------------
void RimEclipseView::syncronizeWellsWithResults()
void RimEclipseView::synchronizeWellsWithResults()
{
if ( !( eclipseCase() && eclipseCase()->eclipseCaseData() ) ) return;
@ -1781,7 +1781,7 @@ void RimEclipseView::updateDisplayModelForWellResults()
m_reservoirGridPartManager->clearGeometryCache();
m_simWellsPartManager->clearGeometryCache();
syncronizeWellsWithResults();
synchronizeWellsWithResults();
onCreateDisplayModel();
updateDisplayModelVisibility();

View File

@ -209,7 +209,7 @@ private:
void updateFaultColors();
void syncronizeWellsWithResults();
void synchronizeWellsWithResults();
void onClampCurrentTimestep() override;
size_t onTimeStepCountRequested() override;

View File

@ -408,7 +408,7 @@ void RimSeismicView::onUpdateLegends()
void RimSeismicView::onLoadDataAndUpdate()
{
updateViewTreeItems( RiaDefines::ItemIn3dView::ALL );
syncronizeLocalAnnotationsFromGlobal();
synchronizeLocalAnnotationsFromGlobal();
onUpdateScaleTransform();
updateMdiWindowVisibility();