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

Class to validate time harmonic linear elasticity (Fourier decomposed) More...

Inheritance diagram for FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >:

Public Member Functions

 FourierDecomposedTimeHarmonicLinearElasticityProblem (const unsigned &nr, const unsigned &nz, const double &rmin, const double &rmax, const double &zmin, const double &zmax)
 Constructor: Pass number of elements in r and z directions and boundary locations. More...
 
void actions_before_newton_solve ()
 Update before solve is empty. More...
 
void actions_after_newton_solve ()
 Update after solve is empty. More...
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 
 FourierDecomposedTimeHarmonicLinearElasticityProblem (const unsigned &nr, const unsigned &nz, const double &rmin, const double &rmax, const double &zmin, const double &zmax)
 Constructor: Pass number of elements in r and z directions and boundary locations. More...
 
void actions_before_newton_solve ()
 Update before solve is empty. More...
 
void actions_after_newton_solve ()
 Update after solve is empty. More...
 
void delete_traction_elements ()
 Delete traction elements. More...
 
void complete_problem_setup ()
 Helper function to complete problem setup. 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...
 
 FourierDecomposedTimeHarmonicLinearElasticityProblem (const double &rmin, const double &rmax, const double &zmin, const double &zmax)
 Constructor: Pass boundary locations. 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 bottom surface. More...
 
void assign_traction_elements ()
 Allocate traction elements on the bottom surface. More...
 
void assign_traction_elements ()
 Allocate traction elements on the bottom surface. More...
 
void delete_traction_elements ()
 Delete traction elements. More...
 
void complete_problem_setup ()
 Helper function to complete problem setup. More...
 

Private Attributes

Mesh * Bulk_mesh_pt
 Pointer to the bulk mesh. More...
 
Mesh * Surface_mesh_pt
 Pointer to the mesh of traction elements. More...
 
RefineableTriangleMesh< ELEMENT > * Bulk_mesh_pt
 Pointer to the bulk mesh. More...
 

Detailed Description

template<class ELEMENT>
class FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >

Class to validate time harmonic linear elasticity (Fourier decomposed)

Definition at line 133 of file cylinder.cc.

Constructor & Destructor Documentation

◆ FourierDecomposedTimeHarmonicLinearElasticityProblem() [1/3]

template<class ELEMENT >
FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem ( const unsigned &  nr,
const unsigned &  nz,
const double &  rmin,
const double &  rmax,
const double &  zmin,
const double &  zmax 
)

Constructor: Pass number of elements in r and z directions and boundary locations.

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

Definition at line 172 of file cylinder.cc.

References Global_Parameters::body_force(), Global_Parameters::boundary_traction(), Global_Parameters::E(), Global_Parameters::exact_solution(), Global_Parameters::Fourier_wavenumber, Global_Parameters::Nu(), Global_Parameters::Omega_sq(), Global_Parameters::rmax, Global_Parameters::rmin, Global_Parameters::zmax, and Global_Parameters::zmin.

◆ FourierDecomposedTimeHarmonicLinearElasticityProblem() [2/3]

template<class ELEMENT >
FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem ( const unsigned &  nr,
const unsigned &  nz,
const double &  rmin,
const double &  rmax,
const double &  zmin,
const double &  zmax 
)

Constructor: Pass number of elements in r and z directions and boundary locations.

◆ FourierDecomposedTimeHarmonicLinearElasticityProblem() [3/3]

template<class ELEMENT >
FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem ( const double &  rmin,
const double &  rmax,
const double &  zmin,
const double &  zmax 
)

Constructor: Pass boundary locations.

Problem constructor: Pass size of domain.

Definition at line 212 of file unstructured_cylinder.cc.

References Global_Parameters::rmax, Global_Parameters::rmin, Global_Parameters::zmax, and Global_Parameters::zmin.

Member Function Documentation

◆ actions_after_adapt() [1/2]

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

Actions after adapt: Rebuild the mesh of traction elements.

Definition at line 135 of file pressure_loaded_cylinder.cc.

◆ actions_after_adapt() [2/2]

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

Actions after adapt: Rebuild the mesh of traction elements.

Definition at line 163 of file unstructured_cylinder.cc.

◆ actions_after_newton_solve() [1/3]

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

Update after solve is empty.

Definition at line 149 of file cylinder.cc.

◆ actions_after_newton_solve() [2/3]

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

Update after solve is empty.

Definition at line 115 of file pressure_loaded_cylinder.cc.

◆ actions_after_newton_solve() [3/3]

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

Update after solve is empty.

Definition at line 148 of file unstructured_cylinder.cc.

◆ actions_before_adapt() [1/2]

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

Actions before adapt: Wipe the mesh of traction elements.

Definition at line 124 of file pressure_loaded_cylinder.cc.

◆ actions_before_adapt() [2/2]

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

Actions before adapt: Wipe the mesh of traction elements.

Definition at line 152 of file unstructured_cylinder.cc.

◆ actions_before_newton_solve() [1/3]

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

Update before solve is empty.

Definition at line 146 of file cylinder.cc.

◆ actions_before_newton_solve() [2/3]

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

Update before solve is empty.

Definition at line 112 of file pressure_loaded_cylinder.cc.

◆ actions_before_newton_solve() [3/3]

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

Update before solve is empty.

Definition at line 145 of file unstructured_cylinder.cc.

◆ assign_traction_elements() [1/3]

template<class ELEMENT >
void FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::assign_traction_elements
private

Allocate traction elements on the bottom surface.

Make traction elements along the boundary r=rmin.

Definition at line 288 of file cylinder.cc.

◆ assign_traction_elements() [2/3]

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

Allocate traction elements on the bottom surface.

◆ assign_traction_elements() [3/3]

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

Allocate traction elements on the bottom surface.

◆ complete_problem_setup() [1/2]

template<class ELEMENT >
void FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::complete_problem_setup

Helper function to complete problem setup.

Complete problem setup.

Definition at line 287 of file pressure_loaded_cylinder.cc.

References Global_Parameters::boundary_traction(), Global_Parameters::E(), Global_Parameters::Fourier_wavenumber, Global_Parameters::Nu(), and Global_Parameters::Omega_sq().

◆ complete_problem_setup() [2/2]

template<class ELEMENT >
void FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::complete_problem_setup ( )
private

Helper function to complete problem setup.

◆ delete_traction_elements() [1/2]

template<class ELEMENT >
void FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::delete_traction_elements

Delete traction elements.

Definition at line 392 of file pressure_loaded_cylinder.cc.

◆ delete_traction_elements() [2/2]

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

Delete traction elements.

◆ doc_solution() [1/3]

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

Doc the solution.

Definition at line 317 of file cylinder.cc.

References Global_Parameters::exact_solution().

◆ doc_solution() [2/3]

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

Doc the solution.

◆ doc_solution() [3/3]

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

Doc the solution.

Member Data Documentation

◆ Bulk_mesh_pt [1/2]

template<class ELEMENT >
Mesh * FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::Bulk_mesh_pt
private

Pointer to the bulk mesh.

Definition at line 160 of file cylinder.cc.

◆ Bulk_mesh_pt [2/2]

template<class ELEMENT >
RefineableTriangleMesh<ELEMENT>* FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::Bulk_mesh_pt
private

Pointer to the bulk mesh.

Definition at line 159 of file pressure_loaded_cylinder.cc.

◆ Surface_mesh_pt

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

Pointer to the mesh of traction elements.

Definition at line 163 of file cylinder.cc.


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