Class to collate parameters for Gmsh mesh generation. More...
#include <gmsh_tet_mesh.template.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. More... | |
TetMeshFacetedClosedSurface *& | outer_boundary_pt () |
Outer boundary. More... | |
Vector< TetMeshFacetedSurface * > & | internal_surface_pt () |
Internal boundaries. More... | |
double & | element_volume () |
Uniform target element volume. More... | |
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. More... | |
std::string & | gmsh_command_line_invocation () |
String to be issued via system command to activate gmsh. More... | |
std::string & | geo_and_msh_file_stem () |
Stem for geo and msh files (input/output to command-line gmsh invocation) More... | |
double & | max_element_size () |
Max. element size during refinement. More... | |
double & | min_element_size () |
Min. element size during refinement. More... | |
double & | max_permitted_edge_ratio () |
Max. permitted edge ratio. More... | |
double & | dx_for_target_size_transfer () |
(Isotropic) grid spacing for target size transfer More... | |
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. More... | |
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) More... | |
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) More... | |
bool | projection_is_disabled () |
Is projection of old solution onto new mesh disabled? More... | |
void | disable_projection () |
Disable projection of old solution onto new mesh. More... | |
void | enable_projection () |
Disable projection of old solution onto new mesh. More... | |
std::string & | gmsh_onscreen_output_file_name () |
Output filename for gmsh on-screen output. More... | |
unsigned & | gmsh_onscreen_output_counter () |
Counter for marker that indicates where we are in gmsh on-screen output. More... | |
Private Attributes | |
TetMeshFacetedClosedSurface * | Outer_boundary_pt |
Pointer to outer boundary. More... | |
Vector< TetMeshFacetedSurface * > | Internal_surface_pt |
Internal boundaries. More... | |
double | Element_volume |
Uniform element volume. More... | |
std::string | Target_size_file_name |
Filename for target volume (for system-call based transfer to gmsh during mesh adaptation) More... | |
std::string | Geo_and_msh_file_stem |
Stem for geo and msh files (input/output to command-line gmsh invocation) More... | |
std::string | Gmsh_command_line_invocation |
Gmsh command line invocation string. More... | |
double | Max_element_size |
Max. element size during refinement. More... | |
double | Min_element_size |
Min. element size during refinement. More... | |
double | Max_permitted_edge_ratio |
Max edge ratio before remesh gets triggered. More... | |
double | Dx_for_target_size_transfer |
(Isotropic) grid spacing for target size transfer More... | |
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. More... | |
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) More... | |
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) More... | |
bool | Projection_is_disabled |
Is projection of old solution onto new mesh disabled? More... | |
std::string | Gmsh_onscreen_output_file_name |
Output filename for gmsh on-screen output. More... | |
unsigned | Gmsh_onscreen_output_counter |
Counter for marker that indicates where we are in gmsh on-screen output. More... | |
Class to collate parameters for Gmsh mesh generation.
Definition at line 56 of file gmsh_tet_mesh.template.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 64 of file gmsh_tet_mesh.template.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 164 of file gmsh_tet_mesh.template.h.
References Counter_for_filename_gmsh_size_transfer.
|
inline |
Disable projection of old solution onto new mesh.
Definition at line 176 of file gmsh_tet_mesh.template.h.
References Projection_is_disabled.
|
inline |
(Isotropic) grid spacing for target size transfer
Definition at line 139 of file gmsh_tet_mesh.template.h.
References Dx_for_target_size_transfer.
|
inline |
Uniform target element volume.
Definition at line 94 of file gmsh_tet_mesh.template.h.
References Element_volume.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Disable projection of old solution onto new mesh.
Definition at line 182 of file gmsh_tet_mesh.template.h.
References Projection_is_disabled.
|
inline |
Stem for geo and msh files (input/output to command-line gmsh invocation)
Definition at line 114 of file gmsh_tet_mesh.template.h.
References Geo_and_msh_file_stem.
Referenced by oomph::GmshTetScaffoldMesh::create_mesh_from_msh_file().
|
inline |
String to be issued via system command to activate gmsh.
Definition at line 107 of file gmsh_tet_mesh.template.h.
References Gmsh_command_line_invocation.
|
inline |
Counter for marker that indicates where we are in gmsh on-screen output.
Definition at line 195 of file gmsh_tet_mesh.template.h.
References Gmsh_onscreen_output_counter.
Referenced by oomph::GmshTetScaffoldMesh::GmshTetScaffoldMesh().
|
inline |
Output filename for gmsh on-screen output.
Definition at line 188 of file gmsh_tet_mesh.template.h.
References Gmsh_onscreen_output_file_name.
Referenced by oomph::GmshTetScaffoldMesh::GmshTetScaffoldMesh().
|
inline |
Internal boundaries.
Definition at line 88 of file gmsh_tet_mesh.template.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 121 of file gmsh_tet_mesh.template.h.
References Max_element_size.
|
inline |
Max. permitted edge ratio.
Definition at line 133 of file gmsh_tet_mesh.template.h.
References Max_permitted_edge_ratio.
|
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 148 of file gmsh_tet_mesh.template.h.
References Max_sample_points_for_limited_locate_zeta_during_target_size_transfer.
|
inline |
Min. element size during refinement.
Definition at line 127 of file gmsh_tet_mesh.template.h.
References Min_element_size.
|
inline |
Outer boundary.
Definition at line 82 of file gmsh_tet_mesh.template.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 170 of file gmsh_tet_mesh.template.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 156 of file gmsh_tet_mesh.template.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 101 of file gmsh_tet_mesh.template.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 248 of file gmsh_tet_mesh.template.h.
Referenced by counter_for_filename_gmsh_size_transfer().
|
private |
(Isotropic) grid spacing for target size transfer
Definition at line 232 of file gmsh_tet_mesh.template.h.
Referenced by dx_for_target_size_transfer().
|
private |
Uniform element volume.
Definition at line 209 of file gmsh_tet_mesh.template.h.
Referenced by element_volume().
|
private |
Stem for geo and msh files (input/output to command-line gmsh invocation)
Definition at line 217 of file gmsh_tet_mesh.template.h.
Referenced by geo_and_msh_file_stem().
|
private |
Gmsh command line invocation string.
Definition at line 220 of file gmsh_tet_mesh.template.h.
Referenced by gmsh_command_line_invocation().
|
private |
Counter for marker that indicates where we are in gmsh on-screen output.
Definition at line 258 of file gmsh_tet_mesh.template.h.
Referenced by gmsh_onscreen_output_counter().
|
private |
Output filename for gmsh on-screen output.
Definition at line 254 of file gmsh_tet_mesh.template.h.
Referenced by gmsh_onscreen_output_file_name().
|
private |
Internal boundaries.
Definition at line 206 of file gmsh_tet_mesh.template.h.
Referenced by oomph::GmshTetMesh< ELEMENT >::build_it(), and internal_surface_pt().
|
private |
Max. element size during refinement.
Definition at line 223 of file gmsh_tet_mesh.template.h.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data(), and max_element_size().
|
private |
Max edge ratio before remesh gets triggered.
Definition at line 229 of file gmsh_tet_mesh.template.h.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data(), and 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 238 of file gmsh_tet_mesh.template.h.
Referenced by max_sample_points_for_limited_locate_zeta_during_target_size_transfer().
|
private |
Min. element size during refinement.
Definition at line 226 of file gmsh_tet_mesh.template.h.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data(), and min_element_size().
|
private |
Pointer to outer boundary.
Definition at line 203 of file gmsh_tet_mesh.template.h.
Referenced by oomph::GmshTetMesh< ELEMENT >::build_it(), and outer_boundary_pt().
|
private |
Is projection of old solution onto new mesh disabled?
Definition at line 251 of file gmsh_tet_mesh.template.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 243 of file gmsh_tet_mesh.template.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 213 of file gmsh_tet_mesh.template.h.
Referenced by target_size_file_name().