Unstructured solid problem. More...
Public Member Functions | |
| UnstructuredSolidProblem () | |
| Constructor: | |
| ~UnstructuredSolidProblem () | |
| Destructor (empty) | |
| void | set_incompressible () |
| Set the problem to be incompressible. | |
| void | doc_solution (DocInfo &doc_info) |
| Doc the solution. | |
| double | get_strain_energy () |
| Calculate the strain energy. | |
| void | actions_before_adapt () |
| Remove Traction Mesh. | |
| void | actions_after_adapt () |
| Add on the traction elements after adaptation. | |
Private Attributes | |
| RefineableSolidTriangleMesh< ELEMENT > * | Solid_mesh_pt |
| Bulk mesh. | |
| SolidMesh * | Traction_mesh_pt |
| Pointer to mesh of traction elements. | |
| TriangleMeshPolygon * | Outer_boundary_polyline_pt |
| Triangle mesh polygon for outer boundary. | |
| bool | Incompressible |
| Boolean flag used in an incompressible problem. | |
Unstructured solid problem.
Definition at line 85 of file unstructured_adaptive_solid.cc.
| UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem | ( | ) |
Constructor:
Constructor for unstructured solid problem.
Definition at line 133 of file unstructured_adaptive_solid.cc.
References UnstructuredSolidProblem< ELEMENT >::actions_after_adapt(), UnstructuredSolidProblem< ELEMENT >::Outer_boundary_polyline_pt, UnstructuredSolidProblem< ELEMENT >::Solid_mesh_pt, and UnstructuredSolidProblem< ELEMENT >::Traction_mesh_pt.
|
inline |
Destructor (empty)
Definition at line 94 of file unstructured_adaptive_solid.cc.
| void UnstructuredSolidProblem< ELEMENT >::actions_after_adapt | ( | ) |
Add on the traction elements after adaptation.
Need to add on the traction elements after adaptation.
Definition at line 348 of file unstructured_adaptive_solid.cc.
References Global_Physical_Variables::constant_pressure(), and Global_Physical_Variables::Constitutive_law_pt.
Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().
| void UnstructuredSolidProblem< ELEMENT >::actions_before_adapt | ( | ) |
Remove Traction Mesh.
Actions before adapt: remove the traction elements in the surface mesh.
Definition at line 331 of file unstructured_adaptive_solid.cc.
| void UnstructuredSolidProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution.
Definition at line 270 of file unstructured_adaptive_solid.cc.
Referenced by main().
| double UnstructuredSolidProblem< ELEMENT >::get_strain_energy | ( | ) |
Calculate the strain energy.
Calculate the strain energy in the entire elastic solid.
Definition at line 309 of file unstructured_adaptive_solid.cc.
Referenced by main().
|
inline |
Set the problem to be incompressible.
Definition at line 97 of file unstructured_adaptive_solid.cc.
References UnstructuredSolidProblem< ELEMENT >::Incompressible.
Referenced by main().
|
private |
Boolean flag used in an incompressible problem.
Definition at line 123 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::set_incompressible().
|
private |
Triangle mesh polygon for outer boundary.
Definition at line 120 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().
|
private |
Bulk mesh.
Definition at line 114 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().
|
private |
Pointer to mesh of traction elements.
Definition at line 117 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().