Problem class for the cantilever "beam" structure. More...
Public Member Functions | |
CantileverProblem () | |
Constructor: More... | |
void | actions_after_newton_solve () |
Update function (empty) More... | |
void | actions_before_newton_solve () |
Update function (empty) More... | |
ElasticRefineableRectangularQuadMesh< ELEMENT > *& | solid_mesh_pt () |
Access function for the solid mesh. More... | |
SolidMesh *& | traction_mesh_pt () |
Access function to the mesh of surface traction elements. More... | |
void | actions_before_adapt () |
Actions before adapt: Wipe the mesh of traction elements. More... | |
void | actions_after_adapt () |
Actions after adapt: Rebuild the mesh of traction elements. More... | |
void | doc_solution () |
Doc the solution. More... | |
CantileverProblem (const bool &incompress, const bool &use_fd) | |
Constructor: More... | |
void | actions_after_newton_solve () |
Update function (empty) More... | |
void | actions_before_newton_solve () |
Update function (empty) More... | |
ElasticRefineableRectangularQuadMesh< ELEMENT > *& | solid_mesh_pt () |
Access function for the solid mesh. More... | |
ElasticRectangularQuadMesh< ELEMENT > *& | solid_mesh_pt () |
Access function for the solid mesh. More... | |
SolidMesh *& | traction_mesh_pt () |
Access function to the mesh of surface traction elements. More... | |
void | actions_before_adapt () |
Actions before adapt: Wipe the mesh of traction elements. More... | |
void | actions_after_adapt () |
Actions after adapt: Rebuild the mesh of traction elements. More... | |
void | doc_solution () |
Doc the solution. More... | |
void | run_it (const unsigned &i_case) |
Run the job – doc in RESLTi_case. More... | |
Private Member Functions | |
void | set_traction_pt () |
Pass pointer to traction function to the elements in the traction mesh. More... | |
void | create_traction_elements () |
Create traction elements. More... | |
void | delete_traction_elements () |
Delete traction elements. More... | |
void | set_traction_pt () |
Pass pointer to traction function to the elements in the traction mesh. More... | |
void | create_traction_elements () |
Create traction elements. More... | |
void | delete_traction_elements () |
Delete traction elements. More... | |
Private Attributes | |
ofstream | Trace_file |
Trace file. More... | |
Node * | Trace_node_pt |
Pointers to node whose position we're tracing. More... | |
ElasticRefineableRectangularQuadMesh< ELEMENT > * | Solid_mesh_pt |
Pointer to solid mesh. More... | |
SolidMesh * | Traction_mesh_pt |
Pointer to mesh of traction elements. More... | |
DocInfo | Doc_info |
DocInfo object for output. More... | |
ElasticRectangularQuadMesh< ELEMENT > * | Solid_mesh_pt |
Pointer to solid mesh. More... | |
Problem class for the cantilever "beam" structure.
Definition at line 209 of file airy_cantilever.cc.
CantileverProblem< ELEMENT >::CantileverProblem | ( | ) |
Constructor:
Definition at line 273 of file airy_cantilever.cc.
References Global_Physical_Variables::Constitutive_law_pt, Global_Physical_Variables::gravity(), Global_Physical_Variables::H, and Global_Physical_Variables::L.
CantileverProblem< ELEMENT >::CantileverProblem | ( | const bool & | incompress, |
const bool & | use_fd | ||
) |
Constructor:
Definition at line 310 of file airy_cantilever2.cc.
References CantileverProblem< ELEMENT >::actions_after_adapt(), CantileverProblem< ELEMENT >::actions_before_adapt(), Global_Physical_Variables::constant_pressure(), Global_Physical_Variables::Constitutive_law_pt, CantileverProblem< ELEMENT >::create_traction_elements(), CantileverProblem< ELEMENT >::delete_traction_elements(), CantileverProblem< ELEMENT >::doc_solution(), Global_Physical_Variables::gravity(), Global_Physical_Variables::H, Global_Physical_Variables::L, Global_Physical_Variables::P, and CantileverProblem< ELEMENT >::set_traction_pt().
void CantileverProblem< ELEMENT >::actions_after_adapt | ( | ) |
Actions after adapt: Rebuild the mesh of traction elements.
Definition at line 392 of file airy_cantilever.cc.
Referenced by CantileverProblem< ELEMENT >::CantileverProblem().
void CantileverProblem< ELEMENT >::actions_after_adapt | ( | ) |
Actions after adapt: Rebuild the mesh of traction elements.
|
inline |
Update function (empty)
Definition at line 218 of file airy_cantilever.cc.
|
inline |
Update function (empty)
Definition at line 230 of file airy_cantilever2.cc.
void CantileverProblem< ELEMENT >::actions_before_adapt | ( | ) |
Actions before adapt: Wipe the mesh of traction elements.
Definition at line 376 of file airy_cantilever.cc.
Referenced by CantileverProblem< ELEMENT >::CantileverProblem().
void CantileverProblem< ELEMENT >::actions_before_adapt | ( | ) |
Actions before adapt: Wipe the mesh of traction elements.
|
inline |
Update function (empty)
Definition at line 221 of file airy_cantilever.cc.
|
inline |
Update function (empty)
Definition at line 233 of file airy_cantilever2.cc.
|
private |
Create traction elements.
Definition at line 441 of file airy_cantilever.cc.
Referenced by CantileverProblem< ELEMENT >::CantileverProblem().
|
private |
Create traction elements.
|
private |
Delete traction elements.
Delete traction elements and wipe the traction meshes.
Definition at line 476 of file airy_cantilever.cc.
Referenced by CantileverProblem< ELEMENT >::CantileverProblem().
|
private |
Delete traction elements.
void CantileverProblem< ELEMENT >::doc_solution | ( | ) |
Doc the solution.
Definition at line 499 of file airy_cantilever.cc.
References Global_Physical_Variables::H, Global_Physical_Variables::L, and Global_Physical_Variables::P.
Referenced by CantileverProblem< ELEMENT >::CantileverProblem(), and main().
void CantileverProblem< ELEMENT >::doc_solution | ( | ) |
Doc the solution.
void CantileverProblem< ELEMENT >::run_it | ( | const unsigned & | i_case | ) |
Run the job – doc in RESLTi_case.
Run it.
Definition at line 676 of file airy_cantilever2.cc.
References Global_Physical_Variables::Gravity, and Global_Physical_Variables::P.
Referenced by main().
|
private |
Pass pointer to traction function to the elements in the traction mesh.
Set pointer to traction function for the relevant elements in the traction mesh
Definition at line 417 of file airy_cantilever.cc.
References Global_Physical_Variables::constant_pressure().
Referenced by CantileverProblem< ELEMENT >::CantileverProblem().
|
private |
Pass pointer to traction function to the elements in the traction mesh.
|
inline |
Access function for the solid mesh.
Definition at line 224 of file airy_cantilever.cc.
|
inline |
Access function for the solid mesh.
Definition at line 238 of file airy_cantilever2.cc.
|
inline |
Access function for the solid mesh.
Definition at line 244 of file airy_cantilever2.cc.
|
inline |
Access function to the mesh of surface traction elements.
Definition at line 228 of file airy_cantilever.cc.
|
inline |
Access function to the mesh of surface traction elements.
Definition at line 251 of file airy_cantilever2.cc.
|
private |
DocInfo object for output.
Definition at line 264 of file airy_cantilever.cc.
|
private |
Pointer to solid mesh.
Definition at line 258 of file airy_cantilever.cc.
|
private |
Pointer to solid mesh.
Definition at line 292 of file airy_cantilever2.cc.
|
private |
Trace file.
Definition at line 252 of file airy_cantilever.cc.
|
private |
Pointers to node whose position we're tracing.
Definition at line 255 of file airy_cantilever.cc.
|
private |
Pointer to mesh of traction elements.
Pointers to meshes of traction elements.
Definition at line 261 of file airy_cantilever.cc.