Public Member Functions | Private Member Functions | Private Attributes | List of all members
CantileverProblem< ELEMENT > Class Template Reference

Problem class for the cantilever "beam" structure. More...

Inheritance diagram for CantileverProblem< ELEMENT >:

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...
 

Detailed Description

template<class ELEMENT>
class CantileverProblem< ELEMENT >

Problem class for the cantilever "beam" structure.

Definition at line 209 of file airy_cantilever.cc.

Constructor & Destructor Documentation

template<class ELEMENT >
CantileverProblem< ELEMENT >::CantileverProblem ( )
template<class ELEMENT >
CantileverProblem< ELEMENT >::CantileverProblem ( const bool &  incompress,
const bool &  use_fd 
)

Member Function Documentation

template<class ELEMENT >
void CantileverProblem< ELEMENT >::actions_after_adapt ( )

Actions after adapt: Rebuild the mesh of traction elements.

Definition at line 392 of file airy_cantilever.cc.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::actions_after_adapt ( )

Actions after adapt: Rebuild the mesh of traction elements.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::actions_after_newton_solve ( )
inline

Update function (empty)

Definition at line 218 of file airy_cantilever.cc.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::actions_after_newton_solve ( )
inline

Update function (empty)

Definition at line 230 of file airy_cantilever2.cc.

template<class ELEMENT >
void CantileverProblem< ELEMENT >::actions_before_adapt ( )

Actions before adapt: Wipe the mesh of traction elements.

Definition at line 376 of file airy_cantilever.cc.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::actions_before_adapt ( )

Actions before adapt: Wipe the mesh of traction elements.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::actions_before_newton_solve ( )
inline

Update function (empty)

Definition at line 221 of file airy_cantilever.cc.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::actions_before_newton_solve ( )
inline

Update function (empty)

Definition at line 233 of file airy_cantilever2.cc.

template<class ELEMENT >
void CantileverProblem< ELEMENT >::create_traction_elements ( )
private

Create traction elements.

Definition at line 441 of file airy_cantilever.cc.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::create_traction_elements ( )
private

Create traction elements.

template<class ELEMENT >
void CantileverProblem< ELEMENT >::delete_traction_elements ( )
private

Delete traction elements.

Delete traction elements and wipe the traction meshes.

Definition at line 476 of file airy_cantilever.cc.

template<class ELEMENT>
void CantileverProblem< ELEMENT >::delete_traction_elements ( )
private

Delete traction elements.

template<class ELEMENT >
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 main().

template<class ELEMENT>
void CantileverProblem< ELEMENT >::doc_solution ( )

Doc the solution.

template<class ELEMENT >
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().

template<class ELEMENT >
void CantileverProblem< ELEMENT >::set_traction_pt ( )
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().

template<class ELEMENT>
void CantileverProblem< ELEMENT >::set_traction_pt ( )
private

Pass pointer to traction function to the elements in the traction mesh.

template<class ELEMENT>
ElasticRefineableRectangularQuadMesh<ELEMENT>*& CantileverProblem< ELEMENT >::solid_mesh_pt ( )
inline

Access function for the solid mesh.

Definition at line 224 of file airy_cantilever.cc.

template<class ELEMENT>
ElasticRefineableRectangularQuadMesh<ELEMENT>*& CantileverProblem< ELEMENT >::solid_mesh_pt ( )
inline

Access function for the solid mesh.

Definition at line 238 of file airy_cantilever2.cc.

template<class ELEMENT>
ElasticRectangularQuadMesh<ELEMENT>*& CantileverProblem< ELEMENT >::solid_mesh_pt ( )
inline

Access function for the solid mesh.

Definition at line 244 of file airy_cantilever2.cc.

template<class ELEMENT>
SolidMesh*& CantileverProblem< ELEMENT >::traction_mesh_pt ( )
inline

Access function to the mesh of surface traction elements.

Definition at line 228 of file airy_cantilever.cc.

template<class ELEMENT>
SolidMesh*& CantileverProblem< ELEMENT >::traction_mesh_pt ( )
inline

Access function to the mesh of surface traction elements.

Definition at line 251 of file airy_cantilever2.cc.

Member Data Documentation

template<class ELEMENT>
DocInfo CantileverProblem< ELEMENT >::Doc_info
private

DocInfo object for output.

Definition at line 264 of file airy_cantilever.cc.

template<class ELEMENT>
ElasticRefineableRectangularQuadMesh< ELEMENT > * CantileverProblem< ELEMENT >::Solid_mesh_pt
private

Pointer to solid mesh.

Definition at line 258 of file airy_cantilever.cc.

template<class ELEMENT>
ElasticRectangularQuadMesh<ELEMENT>* CantileverProblem< ELEMENT >::Solid_mesh_pt
private

Pointer to solid mesh.

Definition at line 292 of file airy_cantilever2.cc.

template<class ELEMENT>
ofstream CantileverProblem< ELEMENT >::Trace_file
private

Trace file.

Definition at line 252 of file airy_cantilever.cc.

template<class ELEMENT>
Node * CantileverProblem< ELEMENT >::Trace_node_pt
private

Pointers to node whose position we're tracing.

Definition at line 255 of file airy_cantilever.cc.

template<class ELEMENT>
SolidMesh * CantileverProblem< ELEMENT >::Traction_mesh_pt
private

Pointer to mesh of traction elements.

Pointers to meshes of traction elements.

Definition at line 261 of file airy_cantilever.cc.


The documentation for this class was generated from the following files: