32#include "../containers/CFastFindAndEraseQueue.hpp"
47 vector<short> Priority;
50 const unsigned long nPoint = 0;
55 void ThrowPointNotInListError(
unsigned long iPoint)
const;
74 void AddCV(
unsigned long newPoint,
short numberNeighbors);
80 void RemoveCV(
unsigned long removePoint);
87 void MoveCV(
unsigned long movePoint,
short numberNeighbors);
116 if (!QueueCV.empty())
117 return QueueCV.back().front();
132 unsigned long TotalCV(
void)
const;
Headers of the main subroutines for creating the geometrical structure. The subroutines and functions...
A queue-type container (push back, pop front), but with fast deletion of arbitrary items (possibly in...
Definition CFastFindAndEraseQueue.hpp:48
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Class for a multigrid queue system for the finite volume solver.
Definition CMultiGridQueue.hpp:42
long NextCV(void) const
Find a new seed control volume.
Definition CMultiGridQueue.hpp:115
CMultiGridQueue()=delete
No default construction.
void IncrPriorityCV(unsigned long incrPoint)
Increase the priority of the CV.
Definition CMultiGridQueue.cpp:102
void VisualizePriority(void) const
Visualize the priority list.
Definition CMultiGridQueue.cpp:137
unsigned long TotalCV(void) const
Total number of control volume in the queue.
Definition CMultiGridQueue.cpp:157
void MoveCV(unsigned long movePoint, short numberNeighbors)
Change a CV from a list to a different list.
Definition CMultiGridQueue.cpp:91
void VisualizeQueue(void) const
Visualize the control volume queue.
Definition CMultiGridQueue.cpp:125
void AddCV(unsigned long newPoint, short numberNeighbors)
Add a new CV to the list.
Definition CMultiGridQueue.cpp:42
bool EmptyQueue(void) const
Check if the queue is empty.
Definition CMultiGridQueue.cpp:143
void Update(unsigned long updatePoint, CGeometry *fineGrid)
Update the queue with the new control volume (remove the CV and increase the priority of the neighbor...
Definition CMultiGridQueue.cpp:163
void RemoveCV(unsigned long removePoint)
Remove a CV from the list.
Definition CMultiGridQueue.cpp:67
void RedPriorityCV(unsigned long redPoint)
Reduce the priority of the CV.
Definition CMultiGridQueue.cpp:113