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

Periodic loading problem. More...

Inheritance diagram for RefineablePeriodicLoadProblem< ELEMENT >:

Public Member Functions

 RefineablePeriodicLoadProblem (const unsigned &nx, const unsigned &ny, const double &lx, const double &ly)
 Constructor: Pass number of elements in x and y directions and lengths. More...
 
void actions_before_newton_solve ()
 Update before solve is empty. More...
 
void actions_after_newton_solve ()
 Update after solve is empty. 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 (DocInfo &doc_info)
 Doc the solution. More...
 

Private Member Functions

void assign_traction_elements ()
 Allocate traction elements on the top surface. More...
 
void delete_traction_elements ()
 Kill traction elements on the top surface. More...
 

Private Attributes

TreeBasedRefineableMeshBase * Bulk_mesh_pt
 Pointer to the (refineable!) bulk mesh. More...
 
Mesh * Surface_mesh_pt
 Pointer to the mesh of traction elements. More...
 

Detailed Description

template<class ELEMENT>
class RefineablePeriodicLoadProblem< ELEMENT >

Periodic loading problem.

Definition at line 95 of file refineable_periodic_load.cc.

Constructor & Destructor Documentation

template<class ELEMENT >
RefineablePeriodicLoadProblem< ELEMENT >::RefineablePeriodicLoadProblem ( const unsigned &  nx,
const unsigned &  ny,
const double &  lx,
const double &  ly 
)

Constructor: Pass number of elements in x and y directions and lengths.

Problem constructor: Pass number of elements in the coordinate directions and the domain sizes.

Definition at line 170 of file refineable_periodic_load.cc.

References Global_Parameters::E(), Global_Parameters::exact_solution(), and Global_Parameters::Finite.

Member Function Documentation

template<class ELEMENT>
void RefineablePeriodicLoadProblem< ELEMENT >::actions_after_adapt ( )
inline

Actions after adapt: Rebuild the mesh of traction elements.

Definition at line 121 of file refineable_periodic_load.cc.

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

Update after solve is empty.

Definition at line 108 of file refineable_periodic_load.cc.

template<class ELEMENT>
void RefineablePeriodicLoadProblem< ELEMENT >::actions_before_adapt ( )
inline

Actions before adapt: Wipe the mesh of traction elements.

Definition at line 111 of file refineable_periodic_load.cc.

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

Update before solve is empty.

Definition at line 105 of file refineable_periodic_load.cc.

template<class ELEMENT >
void RefineablePeriodicLoadProblem< ELEMENT >::assign_traction_elements ( )
private

Allocate traction elements on the top surface.

Make traction elements along the top boundary of the bulk mesh.

Definition at line 304 of file refineable_periodic_load.cc.

References Global_Parameters::periodic_traction().

template<class ELEMENT>
void RefineablePeriodicLoadProblem< ELEMENT >::delete_traction_elements ( )
inlineprivate

Kill traction elements on the top surface.

Definition at line 139 of file refineable_periodic_load.cc.

template<class ELEMENT >
void RefineablePeriodicLoadProblem< ELEMENT >::doc_solution ( DocInfo &  doc_info)

Doc the solution.

Definition at line 344 of file refineable_periodic_load.cc.

References Global_Parameters::exact_solution().

Referenced by main().

Member Data Documentation

template<class ELEMENT>
TreeBasedRefineableMeshBase* RefineablePeriodicLoadProblem< ELEMENT >::Bulk_mesh_pt
private

Pointer to the (refineable!) bulk mesh.

Definition at line 156 of file refineable_periodic_load.cc.

template<class ELEMENT>
Mesh* RefineablePeriodicLoadProblem< ELEMENT >::Surface_mesh_pt
private

Pointer to the mesh of traction elements.

Definition at line 159 of file refineable_periodic_load.cc.


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