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 205 of file airy_cantilever.cc.

Constructor & Destructor Documentation

◆ CantileverProblem() [1/2]

template<class ELEMENT >
CantileverProblem< ELEMENT >::CantileverProblem

◆ CantileverProblem() [2/2]

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

Member Function Documentation

◆ actions_after_adapt() [1/2]

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

Actions after adapt: Rebuild the mesh of traction elements.

Definition at line 388 of file airy_cantilever.cc.

◆ actions_after_adapt() [2/2]

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

Actions after adapt: Rebuild the mesh of traction elements.

◆ actions_after_newton_solve() [1/2]

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

Update function (empty)

Definition at line 214 of file airy_cantilever.cc.

◆ actions_after_newton_solve() [2/2]

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

Update function (empty)

Definition at line 226 of file airy_cantilever2.cc.

◆ actions_before_adapt() [1/2]

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

Actions before adapt: Wipe the mesh of traction elements.

Definition at line 372 of file airy_cantilever.cc.

◆ actions_before_adapt() [2/2]

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

Actions before adapt: Wipe the mesh of traction elements.

◆ actions_before_newton_solve() [1/2]

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

Update function (empty)

Definition at line 217 of file airy_cantilever.cc.

◆ actions_before_newton_solve() [2/2]

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

Update function (empty)

Definition at line 229 of file airy_cantilever2.cc.

◆ create_traction_elements() [1/2]

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

Create traction elements.

Definition at line 437 of file airy_cantilever.cc.

◆ create_traction_elements() [2/2]

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

Create traction elements.

◆ delete_traction_elements() [1/2]

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

Delete traction elements.

Delete traction elements and wipe the traction meshes.

Definition at line 472 of file airy_cantilever.cc.

◆ delete_traction_elements() [2/2]

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

Delete traction elements.

◆ doc_solution() [1/2]

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

◆ doc_solution() [2/2]

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

Doc the solution.

◆ run_it()

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

◆ set_traction_pt() [1/2]

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 413 of file airy_cantilever.cc.

References Global_Physical_Variables::constant_pressure().

◆ set_traction_pt() [2/2]

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

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

◆ solid_mesh_pt() [1/3]

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

Access function for the solid mesh.

Definition at line 220 of file airy_cantilever.cc.

◆ solid_mesh_pt() [2/3]

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

Access function for the solid mesh.

Definition at line 234 of file airy_cantilever2.cc.

◆ solid_mesh_pt() [3/3]

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

Access function for the solid mesh.

Definition at line 240 of file airy_cantilever2.cc.

◆ traction_mesh_pt() [1/2]

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

Access function to the mesh of surface traction elements.

Definition at line 224 of file airy_cantilever.cc.

◆ traction_mesh_pt() [2/2]

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

Access function to the mesh of surface traction elements.

Definition at line 247 of file airy_cantilever2.cc.

Member Data Documentation

◆ Doc_info

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

DocInfo object for output.

Definition at line 260 of file airy_cantilever.cc.

◆ Solid_mesh_pt [1/2]

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

Pointer to solid mesh.

Definition at line 254 of file airy_cantilever.cc.

◆ Solid_mesh_pt [2/2]

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

Pointer to solid mesh.

Definition at line 288 of file airy_cantilever2.cc.

◆ Trace_file

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

Trace file.

Definition at line 248 of file airy_cantilever.cc.

◆ Trace_node_pt

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

Pointers to node whose position we're tracing.

Definition at line 251 of file airy_cantilever.cc.

◆ Traction_mesh_pt

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 257 of file airy_cantilever.cc.


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