26 #ifndef SAMPLE_POINT_PARAMETERS_HEADER
27 #define SAMPLE_POINT_PARAMETERS_HEADER
214 throw OomphLibError(
"Broken default constructor. Don't call this!",
215 OOMPH_CURRENT_FUNCTION,
216 OOMPH_EXCEPTION_LOCATION);
225 #ifdef OOMPH_HAS_CGAL
305 throw OomphLibError(
"Broken default constructor. Don't call this!",
306 OOMPH_CURRENT_FUNCTION,
307 OOMPH_EXCEPTION_LOCATION);
///////////////////////////////////////////////////////////////////////////// ///////////////////////...
///////////////////////////////////////////////////////////////////// ///////////////////////////////...
/////////////////////////////////////////////////////////////////////////// /////////////////////////...
BinArrayParameters()
Broken default constructor; needed for broken copy constructors. Don't call. It will die.
virtual ~BinArrayParameters()
Empty destructor.
void operator=(const BinArrayParameters &)=delete
Broken assignment operator.
BinArrayParameters(const BinArrayParameters &data)=delete
Broken copy constructor.
Vector< unsigned > dimensions_of_bin_array() const
Number of bins in each coordinate direction. Const version.
Vector< unsigned > & dimensions_of_bin_array()
Number of bins in each coordinate direction.
BinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh. Constructor is private and can only be called by the derived friends.
Vector< unsigned > Dimensions_of_bin_array
Number of bins in each coordinate direction.
/////////////////////////////////////////////////////////////////////////// /////////////////////////...
void operator=(const CGALSamplePointContainerParameters &)=delete
Broken assignment operator.
CGALSamplePointContainerParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
CGALSamplePointContainerParameters(const CGALSamplePointContainerParameters &data)=delete
Broken copy constructor.
/////////////////////////////////////////////////////////////////////////// /////////////////////////...
static unsigned Default_nspiral_chunk
Default value for number of spirals that are being visited before doing another circular mpi communic...
virtual ~NonRefineableBinArrayParameters()
Empty destructor.
void operator=(const NonRefineableBinArrayParameters &)=delete
Broken assignment operator.
unsigned Nspiral_chunk
Number of spirals that are being visited before doing another circular mpi communication.
unsigned & nspiral_chunk()
Number of spirals that are being visited before doing another circular mpi communication.
NonRefineableBinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
NonRefineableBinArrayParameters(const NonRefineableBinArrayParameters &data)=delete
Broken copy constructor.
unsigned nspiral_chunk() const
Number of spirals that are being visited before doing another circular mpi communication const versio...
An OomphLibError object which should be thrown when an run-time error is encountered....
/////////////////////////////////////////////////////////////////////////// /////////////////////////...
unsigned max_number_of_sample_point_per_bin() const
Maximum number of sample points in bin (before it's subdivided recursively; const version.
bool bin_array_is_recursive() const
Is bin recursive?
static unsigned Default_max_number_of_sample_point_per_bin
Default value for max. number of sample points before refinement.
unsigned depth() const
Variable which stores the Depth value of the bin_array. const version.
bool Bin_array_is_recursive
Variable which stores if the RefineableBinArray is recursive or not.
RefineableBinArray * root_bin_array_pt() const
Pointer to root bin array; const version.
unsigned Depth
Variable which stores the Depth value of the bin_array. Useful for debugging and for preventing "infi...
RefineableBinArray *& root_bin_array_pt()
Pointer to root bin array.
unsigned Max_depth
Max. depth value of the bin_array.
unsigned & depth()
Variable which stores the Depth value of the bin_array.
static unsigned Default_max_depth
Default value for max. depth.
unsigned max_depth() const
Max. depth value of the bin_array. const version.
unsigned & max_depth()
Max. depth value of the bin_array.
RefineableBinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
unsigned & max_number_of_sample_point_per_bin()
Maximum number of sample points in bin (before it's subdivided recursively)
void operator=(const RefineableBinArrayParameters &)=delete
Broken assignment operator.
RefineableBinArray * Root_bin_array_pt
Pointer to root bin array.
void enable_bin_array_is_recursive()
Enable recursiveness.
RefineableBinArrayParameters(const RefineableBinArrayParameters &data)=delete
Broken copy constructor.
void disable_bin_array_is_recursive()
Disable recursiveness.
unsigned Max_number_of_sample_point_per_bin
Maximum number of sample points in bin (before its subdivided recursively.
virtual ~RefineableBinArrayParameters()
Empty destructor.
///////////////////////////////////////////////////////////////// ///////////////////////////////////...
SamplePointContainerParameters(Mesh *mesh_pt)
Constructor: Pass mesh. Constructor is private and can only be called by the derived friends.
bool ignore_halo_elements_during_locate_zeta_search() const
Ignore halo elements? (MPI only)
SamplePointContainerParameters()
Broken default constructor; needed for broken copy constructors. Don't call. It will die.
virtual ~SamplePointContainerParameters()
Empty destructor.
unsigned & nsample_points_generated_per_element()
"Measure of" number of sample points generated in each element
void enable_ignore_halo_elements_during_locate_zeta_search()
Enable Ignore halo elements? (MPI only)
unsigned Nsample_points_generated_per_element
"Measure of" number of sample points generated in each element
unsigned nsample_points_generated_per_element() const
"Measure of" number of sample points generated in each element const version
SamplePointContainerParameters(const SamplePointContainerParameters &data)=delete
Broken copy constructor.
void operator=(const SamplePointContainerParameters &)=delete
Broken assignment operator.
void enable_use_eulerian_coordinates_during_setup()
Enable use of eulerian coordinates (via interpolated_x) during setup (otherwise use interpolated_zeta...
Mesh * Mesh_pt
Pointer to mesh from whose FiniteElements sample points are created.
Mesh * mesh_pt() const
Pointer to mesh from whose FiniteElements sample points are created.
bool use_eulerian_coordinates_during_setup() const
Use eulerian coordinates (via interpolated_x) during setup (otherwise use interpolated_zeta())?
Vector< std::pair< double, double > > Min_and_max_coordinates
Vector of pairs of doubles for min and maximum coordinates. Call: Min_and_max_coordinates[j] gives me...
void disable_use_eulerian_coordinates_during_setup()
Disable use of eulerian coordinates (via interpolated_x) during setup (otherwise use interpolated_zet...
bool Use_eulerian_coordinates_during_setup
Use Eulerian coordinates to setup bin (i.e. use interpolated_x() rather than interpolated_zeta() when...
Vector< std::pair< double, double > > min_and_max_coordinates() const
Vector of pairs of doubles for min and maximum coordinates. Call: Min_and_max_coordinates[j] gives me...
bool Ignore_halo_elements_during_locate_zeta_search
Ignore halo elements? Accepting halo elements can drastically reduce the number of external halo elem...
static unsigned Default_nsample_points_generated_per_element
Default for "measure of" number of sample points per element.
void disable_ignore_halo_elements_during_locate_zeta_search()
Disable Ignore halo elements? (MPI only)
Vector< std::pair< double, double > > & min_and_max_coordinates()
Vector of pairs of doubles for min and maximum coordinates. Call: Min_and_max_coordinates[j] gives me...
A slight extension to the standard template vector class so that we can include "graceful" array rang...
//////////////////////////////////////////////////////////////////// ////////////////////////////////...
Sample_Point_Container_Type
Enumeration to identify type of sample point container.
@ UseCGALSamplePointContainer
@ UseNonRefineableBinArray