Class to collate parameters for Gmsh mesh generation. More...
#include <gmsh_tet_mesh.h>
Public Member Functions | |
GmshParameters (TetMeshFacetedClosedSurface *const &outer_boundary_pt, const std::string &gmsh_command_line_invocation) | |
Specify outer boundary of domain to be meshed. Other parameters get default values and can be set via member functions. | |
TetMeshFacetedClosedSurface *& | outer_boundary_pt () |
Outer boundary. | |
Vector< TetMeshFacetedSurface * > & | internal_surface_pt () |
Internal boundaries. | |
double & | element_volume () |
Uniform target element volume. | |
std::string & | target_size_file_name () |
Filename for target volumes (for system-call based transfer to gmsh during mesh adaptation). Default: .gmsh_target_size_for_adaptation.dat. | |
std::string & | gmsh_command_line_invocation () |
String to be issued via system command to activate gmsh. | |
std::string & | geo_and_msh_file_stem () |
Stem for geo and msh files (input/output to command-line gmsh invocation) | |
double & | max_element_size () |
Max. element size during refinement. | |
double & | min_element_size () |
Min. element size during refinement. | |
double & | max_permitted_edge_ratio () |
Max. permitted edge ratio. | |
double & | dx_for_target_size_transfer () |
(Isotropic) grid spacing for target size transfer | |
unsigned & | max_sample_points_for_limited_locate_zeta_during_target_size_transfer () |
Target size is transferred onto regular grid (for gmsh) by locate zeta. We try to find the exact point in the existing mesh but if we fail to converge from the nearest specified number of sample points we use the nearest of those. | |
std::string & | stem_for_filename_gmsh_size_transfer () |
Stem for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative) | |
int & | counter_for_filename_gmsh_size_transfer () |
Counter for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative) | |
bool | projection_is_disabled () |
Is projection of old solution onto new mesh disabled? | |
void | disable_projection () |
Disable projection of old solution onto new mesh. | |
void | enable_projection () |
Disable projection of old solution onto new mesh. | |
std::string & | gmsh_onscreen_output_file_name () |
Output filename for gmsh on-screen output. | |
unsigned & | gmsh_onscreen_output_counter () |
Counter for marker that indicates where we are in gmsh on-screen output. | |
Private Attributes | |
TetMeshFacetedClosedSurface * | Outer_boundary_pt |
Pointer to outer boundary. | |
Vector< TetMeshFacetedSurface * > | Internal_surface_pt |
Internal boundaries. | |
double | Element_volume |
Uniform element volume. | |
std::string | Target_size_file_name |
Filename for target volume (for system-call based transfer to gmsh during mesh adaptation) | |
std::string | Geo_and_msh_file_stem |
Stem for geo and msh files (input/output to command-line gmsh invocation) | |
std::string | Gmsh_command_line_invocation |
Gmsh command line invocation string. | |
double | Max_element_size |
Max. element size during refinement. | |
double | Min_element_size |
Min. element size during refinement. | |
double | Max_permitted_edge_ratio |
Max edge ratio before remesh gets triggered. | |
double | Dx_for_target_size_transfer |
(Isotropic) grid spacing for target size transfer | |
unsigned | Max_sample_points_for_limited_locate_zeta_during_target_size_transfer |
Target size is transferred onto regular grid (for gmsh) by locate zeta. We try to find the exact point in the existing mesh but if we fail to converge from the nearest specified number of sample points we use the nearest of those. | |
std::string | Stem_for_filename_gmsh_size_transfer |
Stem for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative) | |
int | Counter_for_filename_gmsh_size_transfer |
Counter for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative) | |
bool | Projection_is_disabled |
Is projection of old solution onto new mesh disabled? | |
std::string | Gmsh_onscreen_output_file_name |
Output filename for gmsh on-screen output. | |
unsigned | Gmsh_onscreen_output_counter |
Counter for marker that indicates where we are in gmsh on-screen output. | |
Class to collate parameters for Gmsh mesh generation.
Definition at line 49 of file gmsh_tet_mesh.h.
|
inline |
Specify outer boundary of domain to be meshed. Other parameters get default values and can be set via member functions.
Definition at line 55 of file gmsh_tet_mesh.h.
|
inline |
Counter for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative)
Definition at line 159 of file gmsh_tet_mesh.h.
References Counter_for_filename_gmsh_size_transfer.
|
inline |
Disable projection of old solution onto new mesh.
Definition at line 171 of file gmsh_tet_mesh.h.
References Projection_is_disabled.
|
inline |
(Isotropic) grid spacing for target size transfer
Definition at line 134 of file gmsh_tet_mesh.h.
References Dx_for_target_size_transfer.
|
inline |
Uniform target element volume.
Definition at line 89 of file gmsh_tet_mesh.h.
References Element_volume.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Disable projection of old solution onto new mesh.
Definition at line 177 of file gmsh_tet_mesh.h.
References Projection_is_disabled.
|
inline |
Stem for geo and msh files (input/output to command-line gmsh invocation)
Definition at line 110 of file gmsh_tet_mesh.h.
References Geo_and_msh_file_stem.
Referenced by oomph::GmshTetScaffoldMesh::create_mesh_from_msh_file(), oomph::GmshTetScaffoldMesh::GmshTetScaffoldMesh(), and oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
String to be issued via system command to activate gmsh.
Definition at line 103 of file gmsh_tet_mesh.h.
References Gmsh_command_line_invocation.
Referenced by oomph::GmshTetScaffoldMesh::GmshTetScaffoldMesh().
|
inline |
Counter for marker that indicates where we are in gmsh on-screen output.
Definition at line 190 of file gmsh_tet_mesh.h.
References Gmsh_onscreen_output_counter.
|
inline |
Output filename for gmsh on-screen output.
Definition at line 183 of file gmsh_tet_mesh.h.
References Gmsh_onscreen_output_file_name.
|
inline |
Internal boundaries.
Definition at line 83 of file gmsh_tet_mesh.h.
References Internal_surface_pt.
Referenced by oomph::GmshTetMesh< ELEMENT >::build_it(), and oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Max. element size during refinement.
Definition at line 116 of file gmsh_tet_mesh.h.
References Max_element_size.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data().
|
inline |
Max. permitted edge ratio.
Definition at line 128 of file gmsh_tet_mesh.h.
References Max_permitted_edge_ratio.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data().
|
inline |
Target size is transferred onto regular grid (for gmsh) by locate zeta. We try to find the exact point in the existing mesh but if we fail to converge from the nearest specified number of sample points we use the nearest of those.
Definition at line 143 of file gmsh_tet_mesh.h.
References Max_sample_points_for_limited_locate_zeta_during_target_size_transfer.
|
inline |
Min. element size during refinement.
Definition at line 122 of file gmsh_tet_mesh.h.
References Min_element_size.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data().
|
inline |
Outer boundary.
Definition at line 77 of file gmsh_tet_mesh.h.
References Outer_boundary_pt.
Referenced by oomph::GmshTetMesh< ELEMENT >::build_it(), and oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Is projection of old solution onto new mesh disabled?
Definition at line 165 of file gmsh_tet_mesh.h.
References Projection_is_disabled.
|
inline |
Stem for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative)
Definition at line 151 of file gmsh_tet_mesh.h.
References Stem_for_filename_gmsh_size_transfer.
|
inline |
Filename for target volumes (for system-call based transfer to gmsh during mesh adaptation). Default: .gmsh_target_size_for_adaptation.dat.
Definition at line 97 of file gmsh_tet_mesh.h.
References Target_size_file_name.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
private |
Counter for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative)
Definition at line 243 of file gmsh_tet_mesh.h.
Referenced by counter_for_filename_gmsh_size_transfer().
|
private |
(Isotropic) grid spacing for target size transfer
Definition at line 226 of file gmsh_tet_mesh.h.
Referenced by dx_for_target_size_transfer().
|
private |
Uniform element volume.
Definition at line 203 of file gmsh_tet_mesh.h.
Referenced by element_volume().
|
private |
Stem for geo and msh files (input/output to command-line gmsh invocation)
Definition at line 211 of file gmsh_tet_mesh.h.
Referenced by geo_and_msh_file_stem().
|
private |
Gmsh command line invocation string.
Definition at line 214 of file gmsh_tet_mesh.h.
Referenced by gmsh_command_line_invocation().
|
private |
Counter for marker that indicates where we are in gmsh on-screen output.
Definition at line 253 of file gmsh_tet_mesh.h.
Referenced by gmsh_onscreen_output_counter().
|
private |
Output filename for gmsh on-screen output.
Definition at line 249 of file gmsh_tet_mesh.h.
Referenced by gmsh_onscreen_output_file_name().
|
private |
Internal boundaries.
Definition at line 200 of file gmsh_tet_mesh.h.
Referenced by internal_surface_pt().
|
private |
Max. element size during refinement.
Definition at line 217 of file gmsh_tet_mesh.h.
Referenced by max_element_size().
|
private |
Max edge ratio before remesh gets triggered.
Definition at line 223 of file gmsh_tet_mesh.h.
Referenced by max_permitted_edge_ratio().
|
private |
Target size is transferred onto regular grid (for gmsh) by locate zeta. We try to find the exact point in the existing mesh but if we fail to converge from the nearest specified number of sample points we use the nearest of those.
Definition at line 233 of file gmsh_tet_mesh.h.
Referenced by max_sample_points_for_limited_locate_zeta_during_target_size_transfer().
|
private |
Min. element size during refinement.
Definition at line 220 of file gmsh_tet_mesh.h.
Referenced by min_element_size().
|
private |
Pointer to outer boundary.
Definition at line 197 of file gmsh_tet_mesh.h.
Referenced by outer_boundary_pt().
|
private |
Is projection of old solution onto new mesh disabled?
Definition at line 246 of file gmsh_tet_mesh.h.
Referenced by disable_projection(), enable_projection(), and projection_is_disabled().
|
private |
Stem for filename used to doc target element sizes on gmsh grid. No doc if stem is equal to empty string (or counter is negative)
Definition at line 238 of file gmsh_tet_mesh.h.
Referenced by stem_for_filename_gmsh_size_transfer().
|
private |
Filename for target volume (for system-call based transfer to gmsh during mesh adaptation)
Definition at line 207 of file gmsh_tet_mesh.h.
Referenced by target_size_file_name().