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 205 of file airy_cantilever.cc.
CantileverProblem< ELEMENT >::CantileverProblem |
Constructor:
Definition at line 269 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 306 of file airy_cantilever2.cc.
References Global_Physical_Variables::Constitutive_law_pt, Global_Physical_Variables::gravity(), Global_Physical_Variables::H, and Global_Physical_Variables::L.
void CantileverProblem< ELEMENT >::actions_after_adapt |
Actions after adapt: Rebuild the mesh of traction elements.
Definition at line 388 of file airy_cantilever.cc.
void CantileverProblem< ELEMENT >::actions_after_adapt | ( | ) |
Actions after adapt: Rebuild the mesh of traction elements.
|
inline |
Update function (empty)
Definition at line 214 of file airy_cantilever.cc.
|
inline |
Update function (empty)
Definition at line 226 of file airy_cantilever2.cc.
void CantileverProblem< ELEMENT >::actions_before_adapt |
Actions before adapt: Wipe the mesh of traction elements.
Definition at line 372 of file airy_cantilever.cc.
void CantileverProblem< ELEMENT >::actions_before_adapt | ( | ) |
Actions before adapt: Wipe the mesh of traction elements.
|
inline |
Update function (empty)
Definition at line 217 of file airy_cantilever.cc.
|
inline |
Update function (empty)
Definition at line 229 of file airy_cantilever2.cc.
|
private |
Create traction elements.
Definition at line 437 of file airy_cantilever.cc.
|
private |
Create traction elements.
|
private |
Delete traction elements.
Delete traction elements and wipe the traction meshes.
Definition at line 472 of file airy_cantilever.cc.
|
private |
Delete traction elements.
void CantileverProblem< ELEMENT >::doc_solution |
Doc the solution.
Definition at line 495 of file airy_cantilever.cc.
References Global_Physical_Variables::H, Global_Physical_Variables::L, and Global_Physical_Variables::P.
Referenced by 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 672 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 413 of file airy_cantilever.cc.
References Global_Physical_Variables::constant_pressure().
|
private |
Pass pointer to traction function to the elements in the traction mesh.
|
inline |
Access function for the solid mesh.
Definition at line 220 of file airy_cantilever.cc.
|
inline |
Access function for the solid mesh.
Definition at line 234 of file airy_cantilever2.cc.
|
inline |
Access function for the solid mesh.
Definition at line 240 of file airy_cantilever2.cc.
|
inline |
Access function to the mesh of surface traction elements.
Definition at line 224 of file airy_cantilever.cc.
|
inline |
Access function to the mesh of surface traction elements.
Definition at line 247 of file airy_cantilever2.cc.
|
private |
DocInfo object for output.
Definition at line 260 of file airy_cantilever.cc.
|
private |
Pointer to solid mesh.
Definition at line 254 of file airy_cantilever.cc.
|
private |
Pointer to solid mesh.
Definition at line 288 of file airy_cantilever2.cc.
|
private |
Trace file.
Definition at line 248 of file airy_cantilever.cc.
|
private |
Pointers to node whose position we're tracing.
Definition at line 251 of file airy_cantilever.cc.
|
private |
Pointer to mesh of traction elements.
Pointers to meshes of traction elements.
Definition at line 257 of file airy_cantilever.cc.