30 #ifndef SAMPLE_POINT_PARAMETERS_HEADER 31 #define SAMPLE_POINT_PARAMETERS_HEADER 221 Nsample_points_generated_per_element(
222 Default_nsample_points_generated_per_element),
223 Use_eulerian_coordinates_during_setup(false),
224 Ignore_halo_elements_during_locate_zeta_search(false)
232 throw OomphLibError(
"Broken default constructor. Don't call this!",
233 OOMPH_CURRENT_FUNCTION,
234 OOMPH_EXCEPTION_LOCATION);
244 #ifdef OOMPH_HAS_CGAL 316 return Dimensions_of_bin_array;
322 return Dimensions_of_bin_array;
342 throw OomphLibError(
"Broken default constructor. Don't call this!",
343 OOMPH_CURRENT_FUNCTION,
344 OOMPH_EXCEPTION_LOCATION);
368 Bin_array_is_recursive(true),
370 Max_depth(Default_max_depth),
371 Max_number_of_sample_point_per_bin(
372 Default_max_number_of_sample_point_per_bin),
397 return Bin_array_is_recursive;
403 Bin_array_is_recursive=
true;
409 Bin_array_is_recursive=
false;
442 return Max_number_of_sample_point_per_bin;
449 return Max_number_of_sample_point_per_bin;
455 return Root_bin_array_pt;
461 return Root_bin_array_pt;
517 Nspiral_chunk(Default_nspiral_chunk)
542 return Nspiral_chunk;
548 return Nspiral_chunk;
virtual ~SamplePointContainerParameters()
Empty destructor.
unsigned Max_number_of_sample_point_per_bin
Maximum number of sample points in bin (before its subdivided recursively.
void broken_copy(const std::string &class_name)
Issue error message and terminate execution.
void operator=(const RefineableBinArrayParameters &)
Broken assignment operator.
virtual ~NonRefineableBinArrayParameters()
Empty destructor.
RefineableBinArray * Root_bin_array_pt
Pointer to root bin array.
bool use_eulerian_coordinates_during_setup() const
Use eulerian coordinates (via interpolated_x) during setup (otherwise use interpolated_zeta())?
BinArrayParameters(const BinArrayParameters &data)
Broken copy constructor.
unsigned Max_depth
Max. depth value of the bin_array.
unsigned max_number_of_sample_point_per_bin() const
Maximum number of sample points in bin (before it's subdivided recursively; const version...
static unsigned Default_nsample_points_generated_per_element
Default for "measure of" number of sample points per element.
RefineableBinArray * root_bin_array_pt() const
Pointer to root bin array; const version.
Helper object for dealing with the parameters used for the SamplePointContainer objects.
void disable_use_eulerian_coordinates_during_setup()
void operator=(const CGALSamplePointContainerParameters &)
Broken assignment operator.
bool bin_array_is_recursive() const
Is bin recursive?
Helper object for dealing with the parameters used for the NonRefineableBinArray objects.
virtual ~BinArrayParameters()
Empty destructor.
unsigned & max_number_of_sample_point_per_bin()
Maximum number of sample points in bin (before it's subdivided recursively)
Helper object for dealing with the parameters used for the CGALSamplePointContainer objects...
unsigned Nspiral_chunk
Number of spirals that are being visited before doing another circular mpi communication.
RefineableBinArray class.
Helper object for dealing with the parameters used for the RefineableBinArray objects.
bool Bin_array_is_recursive
Variable which stores if the RefineableBinArray is recursive or not.
void enable_bin_array_is_recursive()
Enable recursiveness.
unsigned & depth()
Variable which stores the Depth value of the bin_array.
RefineableBinArray *& root_bin_array_pt()
Pointer to root bin array.
unsigned max_depth() const
Max. depth value of the bin_array. const version.
BinArrayParameters()
Broken default constructor; needed for broken copy constructors. Don't call. It will die...
static unsigned Default_max_number_of_sample_point_per_bin
Default value for max. number of sample points before refinement.
RefineableBinArrayParameters(const RefineableBinArrayParameters &data)
Broken copy constructor.
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...
unsigned depth() const
Variable which stores the Depth value of the bin_array. const version.
Vector< std::pair< double, double > > Min_and_max_coordinates
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 enable_ignore_halo_elements_during_locate_zeta_search()
Enable Ignore halo elements? (MPI only)
NonRefineableBinArrayParameters(const NonRefineableBinArrayParameters &data)
Broken copy constructor.
CGALSamplePointContainerParameters(const CGALSamplePointContainerParameters &data)
Broken copy constructor.
void disable_ignore_halo_elements_during_locate_zeta_search()
Disable Ignore halo elements? (MPI only)
Mesh * Mesh_pt
Pointer to mesh from whose FiniteElements sample points are created.
SamplePointContainerParameters(const SamplePointContainerParameters &data)
Broken copy constructor.
void disable_bin_array_is_recursive()
Disable recursiveness.
Vector< unsigned > & dimensions_of_bin_array()
Number of bins in each coordinate direction.
unsigned & max_depth()
Max. depth value of the bin_array.
Sample_Point_Container_Type
Enumeration to identify type of sample point container.
virtual ~RefineableBinArrayParameters()
Empty destructor.
NonRefineableBinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
static unsigned Default_max_depth
Default value for max. depth.
bool Use_eulerian_coordinates_during_setup
Use Eulerian coordinates to setup bin (i.e. use interpolated_x() rather than interpolated_zeta() when...
unsigned Depth
Variable which stores the Depth value of the bin_array. Useful for debugging and for preventing "infi...
void operator=(const BinArrayParameters &)
Broken assignment operator.
bool ignore_halo_elements_during_locate_zeta_search() const
Ignore halo elements? (MPI only)
void broken_assign(const std::string &class_name)
Issue error message and terminate execution.
NonRefineableBinArray class.
unsigned & nsample_points_generated_per_element()
"Measure of" number of sample points generated in each element
CGALSamplePointContainerParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
void enable_use_eulerian_coordinates_during_setup()
static unsigned Default_nspiral_chunk
Default value for number of spirals that are being visited before doing another circular mpi communic...
unsigned Nsample_points_generated_per_element
"Measure of" number of sample points generated in each element
void operator=(const NonRefineableBinArrayParameters &)
Broken assignment operator.
unsigned nspiral_chunk() const
Number of spirals that are being visited before doing another circular mpi communication const versio...
Vector< unsigned > dimensions_of_bin_array() const
Number of bins in each coordinate direction. Const version.
SamplePointContainerParameters(Mesh *mesh_pt)
Constructor: Pass mesh. Constructor is private and can only be called by the derived friends...
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...
void operator=(const SamplePointContainerParameters &)
Broken assignment operator.
unsigned & nspiral_chunk()
Number of spirals that are being visited before doing another circular mpi communication.
unsigned nsample_points_generated_per_element() const
"Measure of" number of sample points generated in each element const version
SamplePointContainerParameters()
Broken default constructor; needed for broken copy constructors. Don't call. It will die...
Helper object for dealing with the parameters used for the BinArray objects.
Mesh * mesh_pt() const
Pointer to mesh from whose FiniteElements sample points are created.
RefineableBinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
bool Ignore_halo_elements_during_locate_zeta_search
Ignore halo elements? Accepting halo elements can drastically reduce the number of external halo elem...