26#ifndef SAMPLE_POINT_PARAMETERS_HEADER
27#define SAMPLE_POINT_PARAMETERS_HEADER
214 throw OomphLibError(
"Broken default constructor. Don't call this!",
305 throw OomphLibError(
"Broken default constructor. Don't call this!",
NonRefineableBinArray class.
RefineableBinArray class.
Helper object for dealing with the parameters used for the BinArray objects.
Vector< unsigned > dimensions_of_bin_array() const
Number of bins in each coordinate direction. Const version.
BinArrayParameters()
Broken default constructor; needed for broken copy constructors. Don't call. It will die.
Vector< unsigned > & dimensions_of_bin_array()
Number of bins in each coordinate direction.
virtual ~BinArrayParameters()
Empty destructor.
void operator=(const BinArrayParameters &)=delete
Broken assignment operator.
BinArrayParameters(const BinArrayParameters &data)=delete
Broken copy constructor.
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.
Helper object for dealing with the parameters used for the CGALSamplePointContainer objects.
void operator=(const CGALSamplePointContainerParameters &)=delete
Broken assignment operator.
CGALSamplePointContainerParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
CGALSamplePointContainerParameters(const CGALSamplePointContainerParameters &data)=delete
Broken copy constructor.
Helper object for dealing with the parameters used for the NonRefineableBinArray objects.
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.
NonRefineableBinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
NonRefineableBinArrayParameters(const NonRefineableBinArrayParameters &data)=delete
Broken copy constructor.
unsigned & nspiral_chunk()
Number of spirals that are being visited before doing another circular mpi communication.
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....
Helper object for dealing with the parameters used for the RefineableBinArray objects.
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.
unsigned Depth
Variable which stores the Depth value of the bin_array. Useful for debugging and for preventing "infi...
unsigned Max_depth
Max. depth value of the bin_array.
unsigned & depth()
Variable which stores the Depth value of the bin_array.
unsigned & max_depth()
Max. 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.
RefineableBinArray * root_bin_array_pt() const
Pointer to root bin array; const version.
RefineableBinArrayParameters(Mesh *mesh_pt)
Constructor: Pass mesh.
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.
RefineableBinArray *& root_bin_array_pt()
Pointer to root bin array.
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.
unsigned & max_number_of_sample_point_per_bin()
Maximum number of sample points in bin (before it's subdivided recursively)
virtual ~RefineableBinArrayParameters()
Empty destructor.
Helper object for dealing with the parameters used for the SamplePointContainer objects.
Mesh * mesh_pt() const
Pointer to mesh from whose FiniteElements sample points are created.
SamplePointContainerParameters(Mesh *mesh_pt)
Constructor: Pass mesh. Constructor is private and can only be called by the derived friends.
unsigned & nsample_points_generated_per_element()
"Measure of" number of sample points generated in each element
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.
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.
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...
TAdvectionDiffusionReactionElement<NREAGENT,DIM,NNODE_1D> elements are isoparametric triangular DIM-d...
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Sample_Point_Container_Type
Enumeration to identify type of sample point container.
@ UseCGALSamplePointContainer
@ UseNonRefineableBinArray