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 49 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 55 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 160 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 172 of file gmsh_tet_mesh.template.h.
References Projection_is_disabled.
|
inline |
(Isotropic) grid spacing for target size transfer
Definition at line 135 of file gmsh_tet_mesh.template.h.
References Dx_for_target_size_transfer.
|
inline |
Uniform target element volume.
Definition at line 89 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 178 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 110 of file gmsh_tet_mesh.template.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.template.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 191 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 184 of file gmsh_tet_mesh.template.h.
References Gmsh_onscreen_output_file_name.
Referenced by oomph::GmshTetScaffoldMesh::GmshTetScaffoldMesh().
|
inline |
Internal boundaries.
Definition at line 83 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 117 of file gmsh_tet_mesh.template.h.
References Max_element_size.
Referenced by oomph::RefineableGmshTetMesh< ELEMENT >::initialise_adaptation_data().
|
inline |
Max. permitted edge ratio.
Definition at line 129 of file gmsh_tet_mesh.template.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 144 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 123 of file gmsh_tet_mesh.template.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.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 166 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 152 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 97 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 244 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 227 of file gmsh_tet_mesh.template.h.
Referenced by dx_for_target_size_transfer().
|
private |
Uniform element volume.
Definition at line 204 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 212 of file gmsh_tet_mesh.template.h.
Referenced by geo_and_msh_file_stem().
|
private |
Gmsh command line invocation string.
Definition at line 215 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 254 of file gmsh_tet_mesh.template.h.
Referenced by gmsh_onscreen_output_counter().
|
private |
Output filename for gmsh on-screen output.
Definition at line 250 of file gmsh_tet_mesh.template.h.
Referenced by gmsh_onscreen_output_file_name().
|
private |
Internal boundaries.
Definition at line 201 of file gmsh_tet_mesh.template.h.
Referenced by internal_surface_pt().
|
private |
Max. element size during refinement.
Definition at line 218 of file gmsh_tet_mesh.template.h.
Referenced by max_element_size().
|
private |
Max edge ratio before remesh gets triggered.
Definition at line 224 of file gmsh_tet_mesh.template.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 234 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 221 of file gmsh_tet_mesh.template.h.
Referenced by min_element_size().
|
private |
Pointer to outer boundary.
Definition at line 198 of file gmsh_tet_mesh.template.h.
Referenced by outer_boundary_pt().
|
private |
Is projection of old solution onto new mesh disabled?
Definition at line 247 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 239 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 208 of file gmsh_tet_mesh.template.h.
Referenced by target_size_file_name().