![]() |
|
#include <triangle_mesh.template.h>
Public Member Functions | |
| TriangleMeshParameters (Vector< TriangleMeshClosedCurve * > &outer_boundary_pt) | |
| TriangleMeshParameters (TriangleMeshClosedCurve *outer_boundary_pt) | |
| TriangleMeshParameters () | |
| virtual | ~TriangleMeshParameters () |
| Empty destructor. More... | |
| Vector< TriangleMeshClosedCurve * > | outer_boundary_pt () const |
| Helper function for getting the outer boundary. More... | |
| Vector< TriangleMeshClosedCurve * > & | outer_boundary_pt () |
| Helper function for getting access to the outer boundary. More... | |
| TriangleMeshClosedCurve * | outer_boundary_pt (const unsigned &i) const |
| Helper function for getting the i-th outer boundary. More... | |
| TriangleMeshClosedCurve *& | outer_boundary_pt (const unsigned &i) |
| Helper function for getting access to the i-th outer boundary. More... | |
| Vector< TriangleMeshClosedCurve * > | internal_closed_curve_pt () const |
| Helper function for getting the internal closed boundaries. More... | |
| Vector< TriangleMeshClosedCurve * > & | internal_closed_curve_pt () |
| Vector< TriangleMeshOpenCurve * > | internal_open_curves_pt () const |
| Helper function for getting the internal open boundaries. More... | |
| Vector< TriangleMeshOpenCurve * > & | internal_open_curves_pt () |
| double | element_area () const |
| Helper function for getting the element area. More... | |
| double & | element_area () |
| Helper function for getting access to the element area. More... | |
| Vector< Vector< double > > | extra_holes_coordinates () const |
| Helper function for getting the extra holes. More... | |
| Vector< Vector< double > > & | extra_holes_coordinates () |
| Helper function for getting access to the extra holes. More... | |
| void | add_region_coordinates (const unsigned &i, Vector< double > ®ion_coordinates) |
| Helper function for getting the extra regions. More... | |
| std::map< unsigned, Vector< double > > & | regions_coordinates () |
| Helper function for getting access to the regions coordinates. More... | |
| void | set_target_area_for_region (const unsigned &i, const double &area) |
| Helper function to specify target area for region. More... | |
| std::map< unsigned, double > & | target_area_for_region () |
| Helper function for getting access to the region's target areas. More... | |
| void | enable_use_attributes () |
| Helper function for enabling the use of attributes. More... | |
| void | disable_use_attributes () |
| Helper function for disabling the use of attributes. More... | |
| bool | is_use_attributes () const |
| void | enable_boundary_refinement () |
| Helper function for enabling the use of boundary refinement. More... | |
| bool | is_mesh_distributed () const |
| Boolean to indicate if Mesh has been distributed. More... | |
| void | set_communicator_pt (OomphCommunicator *comm_pt) |
| Function to set communicator (mesh is then assumed to be distributed) More... | |
| OomphCommunicator * | communicator_pt () const |
| Read-only access fct to communicator (Null if mesh is not distributed) More... | |
| void | disable_boundary_refinement () |
| Helper function for disabling the use of boundary refinement. More... | |
| bool | is_boundary_refinement_allowed () const |
| Helper function for getting the status of boundary refinement. More... | |
| void | enable_internal_boundary_refinement () |
| Helper function for enabling the use of boundary refinement. More... | |
| void | disable_internal_boundary_refinement () |
| Helper function for disabling the use of boundary refinement. More... | |
| bool | is_internal_boundary_refinement_allowed () const |
| Helper function for getting the status of boundary refinement. More... | |
| void | enable_automatic_creation_of_vertices_on_boundaries () |
| void | disable_automatic_creation_of_vertices_on_boundaries () |
| bool | is_automatic_creation_of_vertices_on_boundaries_allowed () |
Protected Attributes | |
| Vector< TriangleMeshClosedCurve * > | Outer_boundary_pt |
| The outer boundary. More... | |
| Vector< TriangleMeshClosedCurve * > | Internal_closed_curve_pt |
| Internal closed boundaries. More... | |
| Vector< TriangleMeshOpenCurve * > | Internal_open_curves_pt |
| Internal boundaries. More... | |
| double | Element_area |
| The element are when calling triangulate external routine. More... | |
| Vector< Vector< double > > | Extra_holes_coordinates |
| Store the coordinates for defining extra holes. More... | |
| std::map< unsigned, Vector< double > > | Regions_coordinates |
| std::map< unsigned, double > | Regions_areas |
| bool | Use_attributes |
| Define the use of attributes (regions) More... | |
| bool | Boundary_refinement |
| Do not allow refinement of nodes on the boundary. More... | |
| bool | Internal_boundary_refinement |
| Do not allow refinement of nodes on the internal boundary. More... | |
| bool | Allow_automatic_creation_of_vertices_on_boundaries |
| OomphCommunicator * | Comm_pt |
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Helper object for dealing with the parameters used for the TriangleMesh objects
|
inline |
Constructor: Only takes the outer boundary, all the other parameters are stated with the specific parameters
|
inline |
Constructor: Only takes the outer boundary, all the other parameters are stated with the specific parameters
References outer_boundary_pt(), and Outer_boundary_pt.
|
inline |
Constructor: Takes nothing and initializes the other parameters to the default ones
|
inlinevirtual |
|
inline |
Helper function for getting the extra regions.
References enable_use_attributes(), i, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and Regions_coordinates.
Referenced by oomph::DiskTetMeshFacetedSurface::DiskTetMeshFacetedSurface(), DropInChannelProblem< ELEMENT >::DropInChannelProblem(), HomogenisationProblem< ELEMENT >::HomogenisationProblem(), MeltContactProblem< ELEMENT >::MeltContactProblem(), RingWithTRibProblem< ELASTICITY_ELEMENT >::RingWithTRibProblem(), SolarRadiationProblem< ELEMENT >::SolarRadiationProblem(), StefanBoltzmannProblem< ELEMENT >::StefanBoltzmannProblem(), TwoLayerInterfaceProblem< ELEMENT >::TwoLayerInterfaceProblem(), and UnstructuredFvKProblem< ELEMENT >::UnstructuredFvKProblem().
|
inline |
|
inline |
Disables the creation of points (by Triangle) on the outer and internal boundaries
References Allow_automatic_creation_of_vertices_on_boundaries.
|
inline |
Helper function for disabling the use of boundary refinement.
References Boundary_refinement.
Referenced by HomogenisationProblem< ELEMENT >::HomogenisationProblem().
|
inline |
Helper function for disabling the use of boundary refinement.
References Internal_boundary_refinement.
|
inline |
Helper function for disabling the use of attributes.
References Use_attributes.
|
inline |
Helper function for getting access to the element area.
References Element_area.
|
inline |
Helper function for getting the element area.
References Element_area.
Referenced by AxiPoroProblem< ELEMENT, TIMESTEPPER >::AxiPoroProblem(), AxisymmetricVibratingShellProblem< ELEMENT >::AxisymmetricVibratingShellProblem(), BubbleInChannelProblem< ELEMENT >::BubbleInChannelProblem(), ContactProblem< ELEMENT >::ContactProblem(), DarcyProblem< ELEMENT >::DarcyProblem(), oomph::DiskTetMeshFacetedSurface::DiskTetMeshFacetedSurface(), DropInChannelProblem< ELEMENT >::DropInChannelProblem(), ElasticAnnulusProblem< ELASTICITY_ELEMENT >::ElasticAnnulusProblem(), FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem(), HomogenisationProblem< ELEMENT >::HomogenisationProblem(), MeltContactProblem< ELEMENT >::MeltContactProblem(), PMLFourierDecomposedHelmholtzProblem< ELEMENT >::PMLFourierDecomposedHelmholtzProblem(), PMLHelmholtzMGProblem< ELEMENT >::PMLHelmholtzMGProblem(), PMLProblem< ELEMENT >::PMLProblem(), PoissonProblem< ELEMENT >::PoissonProblem(), PressureWaveFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::PressureWaveFSIProblem(), RingWithTRibProblem< ELASTICITY_ELEMENT >::RingWithTRibProblem(), SolarRadiationProblem< ELEMENT >::SolarRadiationProblem(), StefanBoltzmannProblem< ELEMENT >::StefanBoltzmannProblem(), TwoLayerInterfaceProblem< ELEMENT >::TwoLayerInterfaceProblem(), UnsteadyHeatMeltProblem< ELEMENT >::UnsteadyHeatMeltProblem(), UnsteadyHeatProblem< ELEMENT >::UnsteadyHeatProblem(), UnstructuredFluidProblem< ELEMENT >::UnstructuredFluidProblem(), UnstructuredFvKProblem< ELEMENT >::UnstructuredFvKProblem(), UnstructuredImmersedEllipseProblem< ELEMENT >::UnstructuredImmersedEllipseProblem(), UnstructuredPoissonProblem< ELEMENT >::UnstructuredPoissonProblem(), UnstructuredSolidProblem< ELEMENT, MESH >::UnstructuredSolidProblem(), UnstructuredTorusProblem< ELEMENT >::UnstructuredTorusProblem(), and VibratingShellProblem< ELEMENT >::VibratingShellProblem().
|
inline |
Enables the creation of points (by Triangle) on the outer and internal boundaries
References Allow_automatic_creation_of_vertices_on_boundaries.
|
inline |
Helper function for enabling the use of boundary refinement.
References Boundary_refinement.
Referenced by AxisymmetricVibratingShellProblem< ELEMENT >::AxisymmetricVibratingShellProblem(), and VibratingShellProblem< ELEMENT >::VibratingShellProblem().
|
inline |
Helper function for enabling the use of boundary refinement.
References Internal_boundary_refinement.
|
inline |
Helper function for enabling the use of attributes.
References Use_attributes.
Referenced by add_region_coordinates().
Helper function for getting access to the extra holes.
References Extra_holes_coordinates.
Helper function for getting the extra holes.
References Extra_holes_coordinates.
|
inline |
Helper function for getting access to the internal closed boundaries
References Internal_closed_curve_pt.
|
inline |
Helper function for getting the internal closed boundaries.
References Internal_closed_curve_pt.
Referenced by BubbleInChannelProblem< ELEMENT >::BubbleInChannelProblem(), oomph::DiskTetMeshFacetedSurface::DiskTetMeshFacetedSurface(), DropInChannelProblem< ELEMENT >::DropInChannelProblem(), ElasticAnnulusProblem< ELASTICITY_ELEMENT >::ElasticAnnulusProblem(), HomogenisationProblem< ELEMENT >::HomogenisationProblem(), PMLHelmholtzMGProblem< ELEMENT >::PMLHelmholtzMGProblem(), PMLProblem< ELEMENT >::PMLProblem(), StefanBoltzmannProblem< ELEMENT >::StefanBoltzmannProblem(), TwoLayerInterfaceProblem< ELEMENT >::TwoLayerInterfaceProblem(), UnstructuredFluidProblem< ELEMENT >::UnstructuredFluidProblem(), UnstructuredFvKProblem< ELEMENT >::UnstructuredFvKProblem(), UnstructuredImmersedEllipseProblem< ELEMENT >::UnstructuredImmersedEllipseProblem(), UnstructuredPoissonProblem< ELEMENT >::UnstructuredPoissonProblem(), and UnstructuredTorusProblem< ELEMENT >::UnstructuredTorusProblem().
|
inline |
Helper function for getting access to the internal open boundaries
References Internal_open_curves_pt.
|
inline |
Helper function for getting the internal open boundaries.
References Internal_open_curves_pt.
Referenced by AxiPoroProblem< ELEMENT, TIMESTEPPER >::AxiPoroProblem(), MeltContactProblem< ELEMENT >::MeltContactProblem(), RingWithTRibProblem< ELASTICITY_ELEMENT >::RingWithTRibProblem(), SolarRadiationProblem< ELEMENT >::SolarRadiationProblem(), TwoLayerInterfaceProblem< ELEMENT >::TwoLayerInterfaceProblem(), and UnstructuredFvKProblem< ELEMENT >::UnstructuredFvKProblem().
|
inline |
Returns the status of the variable Allow_automatic_creation_of_vertices_on_boundaries
References Allow_automatic_creation_of_vertices_on_boundaries.
|
inline |
Helper function for getting the status of boundary refinement.
References Boundary_refinement.
|
inline |
Helper function for getting the status of boundary refinement.
References Internal_boundary_refinement.
|
inline |
|
inline |
Helper function for getting the status of use_attributes variable
References Use_attributes.
|
inline |
Helper function for getting access to the outer boundary.
References Outer_boundary_pt.
|
inline |
Helper function for getting the outer boundary.
References Outer_boundary_pt.
Referenced by TriangleMeshParameters().
|
inline |
Helper function for getting access to the i-th outer boundary.
References i, and Outer_boundary_pt.
|
inline |
Helper function for getting the i-th outer boundary.
References i, and Outer_boundary_pt.
Helper function for getting access to the regions coordinates.
References Regions_coordinates.
|
inline |
|
inline |
Helper function to specify target area for region.
References i, and Regions_areas.
Helper function for getting access to the region's target areas.
References Regions_areas.
|
protected |
Allows automatic creation of vertices along boundaries by Triangle
Referenced by disable_automatic_creation_of_vertices_on_boundaries(), enable_automatic_creation_of_vertices_on_boundaries(), and is_automatic_creation_of_vertices_on_boundaries_allowed().
|
protected |
Do not allow refinement of nodes on the boundary.
Referenced by disable_boundary_refinement(), enable_boundary_refinement(), and is_boundary_refinement_allowed().
|
protected |
Pointer to communicator – set to NULL if mesh is not distributed Required to pass it to new distributed meshes created at the adaptation stage
Referenced by communicator_pt(), is_mesh_distributed(), and set_communicator_pt().
|
protected |
The element are when calling triangulate external routine.
Referenced by element_area().
Store the coordinates for defining extra holes.
Referenced by extra_holes_coordinates().
|
protected |
Do not allow refinement of nodes on the internal boundary.
Referenced by disable_internal_boundary_refinement(), enable_internal_boundary_refinement(), and is_internal_boundary_refinement_allowed().
|
protected |
Internal closed boundaries.
Referenced by internal_closed_curve_pt().
|
protected |
Internal boundaries.
Referenced by internal_open_curves_pt().
|
protected |
The outer boundary.
Referenced by outer_boundary_pt(), and TriangleMeshParameters().
Target areas for regions; defaults to 0.0 which (luckily) implies "no specific target area" for triangle!
Referenced by set_target_area_for_region(), and target_area_for_region().
Store the coordinates for defining extra regions The key on the map is the region id
Referenced by add_region_coordinates(), and regions_coordinates().
|
protected |
Define the use of attributes (regions)
Referenced by disable_use_attributes(), enable_use_attributes(), and is_use_attributes().