oomph::RefineableBinArrayParameters Class Reference

#include <sample_point_parameters.h>

+ Inheritance diagram for oomph::RefineableBinArrayParameters:

Public Member Functions

 RefineableBinArrayParameters (Mesh *mesh_pt)
 Constructor: Pass mesh. More...
 
 RefineableBinArrayParameters (const RefineableBinArrayParameters &data)=delete
 Broken copy constructor. More...
 
void operator= (const RefineableBinArrayParameters &)=delete
 Broken assignment operator. More...
 
virtual ~RefineableBinArrayParameters ()
 Empty destructor. More...
 
bool bin_array_is_recursive () const
 Is bin recursive? More...
 
void enable_bin_array_is_recursive ()
 Enable recursiveness. More...
 
void disable_bin_array_is_recursive ()
 Disable recursiveness. More...
 
unsigneddepth ()
 Variable which stores the Depth value of the bin_array. More...
 
unsigned depth () const
 
unsignedmax_depth ()
 Max. depth value of the bin_array. More...
 
unsigned max_depth () const
 
unsignedmax_number_of_sample_point_per_bin ()
 
unsigned max_number_of_sample_point_per_bin () const
 
RefineableBinArray *& root_bin_array_pt ()
 Pointer to root bin array. More...
 
RefineableBinArrayroot_bin_array_pt () const
 Pointer to root bin array; const version. More...
 
- Public Member Functions inherited from oomph::BinArrayParameters
 BinArrayParameters (const BinArrayParameters &data)=delete
 Broken copy constructor. More...
 
void operator= (const BinArrayParameters &)=delete
 Broken assignment operator. More...
 
virtual ~BinArrayParameters ()
 Empty destructor. More...
 
Vector< unsigned > & dimensions_of_bin_array ()
 Number of bins in each coordinate direction. More...
 
Vector< unsigneddimensions_of_bin_array () const
 Number of bins in each coordinate direction. Const version. More...
 
- Public Member Functions inherited from oomph::SamplePointContainerParameters
 SamplePointContainerParameters (const SamplePointContainerParameters &data)=delete
 Broken copy constructor. More...
 
void operator= (const SamplePointContainerParameters &)=delete
 Broken assignment operator. More...
 
virtual ~SamplePointContainerParameters ()
 Empty destructor. More...
 
Meshmesh_pt () const
 Pointer to mesh from whose FiniteElements sample points are created. More...
 
Vector< std::pair< double, double > > & min_and_max_coordinates ()
 
Vector< std::pair< double, double > > min_and_max_coordinates () const
 
unsigned nsample_points_generated_per_element () const
 
unsignednsample_points_generated_per_element ()
 "Measure of" number of sample points generated in each element More...
 
bool use_eulerian_coordinates_during_setup () const
 
void enable_use_eulerian_coordinates_during_setup ()
 
void disable_use_eulerian_coordinates_during_setup ()
 
bool ignore_halo_elements_during_locate_zeta_search () const
 Ignore halo elements? (MPI only) More...
 
void enable_ignore_halo_elements_during_locate_zeta_search ()
 Enable Ignore halo elements? (MPI only) More...
 
void disable_ignore_halo_elements_during_locate_zeta_search ()
 Disable Ignore halo elements? (MPI only) More...
 

Static Public Attributes

static unsigned Default_max_depth
 Default value for max. depth. More...
 
static unsigned Default_max_number_of_sample_point_per_bin
 Default value for max. number of sample points before refinement. More...
 
- Static Public Attributes inherited from oomph::SamplePointContainerParameters
static unsigned Default_nsample_points_generated_per_element
 Default for "measure of" number of sample points per element. More...
 

Private Attributes

bool Bin_array_is_recursive
 
unsigned Depth
 
unsigned Max_depth
 Max. depth value of the bin_array. More...
 
unsigned Max_number_of_sample_point_per_bin
 
RefineableBinArrayRoot_bin_array_pt
 Pointer to root bin array. More...
 

Additional Inherited Members

- Protected Attributes inherited from oomph::BinArrayParameters
Vector< unsignedDimensions_of_bin_array
 Number of bins in each coordinate direction. More...
 
- Protected Attributes inherited from oomph::SamplePointContainerParameters
MeshMesh_pt
 Pointer to mesh from whose FiniteElements sample points are created. More...
 
Vector< std::pair< double, double > > Min_and_max_coordinates
 
unsigned Nsample_points_generated_per_element
 "Measure of" number of sample points generated in each element More...
 
bool Use_eulerian_coordinates_during_setup
 
bool Ignore_halo_elements_during_locate_zeta_search
 

Detailed Description

/////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// Helper object for dealing with the parameters used for the RefineableBinArray objects

Constructor & Destructor Documentation

◆ RefineableBinArrayParameters() [1/2]

oomph::RefineableBinArrayParameters::RefineableBinArrayParameters ( Mesh mesh_pt)
inline

Constructor: Pass mesh.

329  Depth(0),
334  {
335  }
BinArrayParameters()
Definition: sample_point_parameters.h:302
static unsigned Default_max_number_of_sample_point_per_bin
Default value for max. number of sample points before refinement.
Definition: sample_point_parameters.h:422
bool Bin_array_is_recursive
Definition: sample_point_parameters.h:427
unsigned Depth
Definition: sample_point_parameters.h:432
unsigned Max_depth
Max. depth value of the bin_array.
Definition: sample_point_parameters.h:435
static unsigned Default_max_depth
Default value for max. depth.
Definition: sample_point_parameters.h:419
RefineableBinArray * Root_bin_array_pt
Pointer to root bin array.
Definition: sample_point_parameters.h:442
unsigned Max_number_of_sample_point_per_bin
Definition: sample_point_parameters.h:439
SamplePointContainerParameters()
Definition: sample_point_parameters.h:211
Mesh * mesh_pt() const
Pointer to mesh from whose FiniteElements sample points are created.
Definition: sample_point_parameters.h:92

◆ RefineableBinArrayParameters() [2/2]

oomph::RefineableBinArrayParameters::RefineableBinArrayParameters ( const RefineableBinArrayParameters data)
delete

Broken copy constructor.

◆ ~RefineableBinArrayParameters()

virtual oomph::RefineableBinArrayParameters::~RefineableBinArrayParameters ( )
inlinevirtual

Empty destructor.

345 {}

Member Function Documentation

◆ bin_array_is_recursive()

bool oomph::RefineableBinArrayParameters::bin_array_is_recursive ( ) const
inline

Is bin recursive?

350  {
351  return Bin_array_is_recursive;
352  }

References Bin_array_is_recursive.

◆ depth() [1/2]

unsigned& oomph::RefineableBinArrayParameters::depth ( )
inline

Variable which stores the Depth value of the bin_array.

368  {
369  return Depth;
370  }

References Depth.

◆ depth() [2/2]

unsigned oomph::RefineableBinArrayParameters::depth ( ) const
inline

Variable which stores the Depth value of the bin_array. const version

375  {
376  return Depth;
377  }

References Depth.

◆ disable_bin_array_is_recursive()

void oomph::RefineableBinArrayParameters::disable_bin_array_is_recursive ( )
inline

Disable recursiveness.

362  {
363  Bin_array_is_recursive = false;
364  }

References Bin_array_is_recursive.

◆ enable_bin_array_is_recursive()

void oomph::RefineableBinArrayParameters::enable_bin_array_is_recursive ( )
inline

Enable recursiveness.

356  {
357  Bin_array_is_recursive = true;
358  }

References Bin_array_is_recursive.

◆ max_depth() [1/2]

unsigned& oomph::RefineableBinArrayParameters::max_depth ( )
inline

Max. depth value of the bin_array.

381  {
382  return Max_depth;
383  }

References Max_depth.

◆ max_depth() [2/2]

unsigned oomph::RefineableBinArrayParameters::max_depth ( ) const
inline

Max. depth value of the bin_array. const version

388  {
389  return Max_depth;
390  }

References Max_depth.

◆ max_number_of_sample_point_per_bin() [1/2]

unsigned& oomph::RefineableBinArrayParameters::max_number_of_sample_point_per_bin ( )
inline

Maximum number of sample points in bin (before it's subdivided recursively)

395  {
397  }

References Max_number_of_sample_point_per_bin.

◆ max_number_of_sample_point_per_bin() [2/2]

unsigned oomph::RefineableBinArrayParameters::max_number_of_sample_point_per_bin ( ) const
inline

Maximum number of sample points in bin (before it's subdivided recursively; const version

402  {
404  }

References Max_number_of_sample_point_per_bin.

◆ operator=()

void oomph::RefineableBinArrayParameters::operator= ( const RefineableBinArrayParameters )
delete

Broken assignment operator.

◆ root_bin_array_pt() [1/2]

RefineableBinArray*& oomph::RefineableBinArrayParameters::root_bin_array_pt ( )
inline

Pointer to root bin array.

408  {
409  return Root_bin_array_pt;
410  }

References Root_bin_array_pt.

◆ root_bin_array_pt() [2/2]

RefineableBinArray* oomph::RefineableBinArrayParameters::root_bin_array_pt ( ) const
inline

Pointer to root bin array; const version.

414  {
415  return Root_bin_array_pt;
416  }

References Root_bin_array_pt.

Member Data Documentation

◆ Bin_array_is_recursive

bool oomph::RefineableBinArrayParameters::Bin_array_is_recursive
private

Variable which stores if the RefineableBinArray is recursive or not.

Referenced by bin_array_is_recursive(), disable_bin_array_is_recursive(), and enable_bin_array_is_recursive().

◆ Default_max_depth

unsigned oomph::RefineableBinArrayParameters::Default_max_depth
static
Initial value:
=
100

Default value for max. depth.

◆ Default_max_number_of_sample_point_per_bin

unsigned oomph::RefineableBinArrayParameters::Default_max_number_of_sample_point_per_bin
static
Initial value:
=
15

Default value for max. number of sample points before refinement.

◆ Depth

unsigned oomph::RefineableBinArrayParameters::Depth
private

Variable which stores the Depth value of the bin_array. Useful for debugging and for preventing "infinite" recursion in case if there is a problem.

Referenced by depth().

◆ Max_depth

unsigned oomph::RefineableBinArrayParameters::Max_depth
private

Max. depth value of the bin_array.

Referenced by max_depth().

◆ Max_number_of_sample_point_per_bin

unsigned oomph::RefineableBinArrayParameters::Max_number_of_sample_point_per_bin
private

Maximum number of sample points in bin (before its subdivided recursively

Referenced by max_number_of_sample_point_per_bin().

◆ Root_bin_array_pt

RefineableBinArray* oomph::RefineableBinArrayParameters::Root_bin_array_pt
private

Pointer to root bin array.

Referenced by root_bin_array_pt().


The documentation for this class was generated from the following files: