MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::LinearElasticitySolver Class Reference

Class for solving linear elasticity: More...

#include <ex37.hpp>

Public Member Functions

 LinearElasticitySolver ()
 
 LinearElasticitySolver (Mesh *mesh_, int order_, Coefficient *lambda_cf_, Coefficient *mu_cf_)
 
void SetMesh (Mesh *mesh_)
 
void SetOrder (int order_)
 
void SetLameCoefficients (Coefficient *lambda_cf_, Coefficient *mu_cf_)
 
void SetRHSCoefficient (VectorCoefficient *rhs_cf_)
 
void SetEssentialBoundary (const Array< int > &ess_bdr_)
 
void SetNeumannBoundary (const Array< int > &neumann_bdr_)
 
void SetEssBdrData (VectorCoefficient *essbdr_cf_)
 
void ResetFEM ()
 
void SetupFEM ()
 
void Solve ()
 
GridFunctionGetFEMSolution ()
 
LinearFormGetLinearForm ()
 
ParGridFunctionGetParFEMSolution ()
 
ParLinearFormGetParLinearForm ()
 
 ~LinearElasticitySolver ()
 

Detailed Description

Class for solving linear elasticity:

   -∇ ⋅ σ(u) = f  in Ω  + BCs

where

  σ(u) = λ ∇⋅u I + μ (∇ u + ∇uᵀ)

Definition at line 303 of file ex37.hpp.

Constructor & Destructor Documentation

◆ LinearElasticitySolver() [1/2]

mfem::LinearElasticitySolver::LinearElasticitySolver ( )
inline

Definition at line 328 of file ex37.hpp.

◆ LinearElasticitySolver() [2/2]

mfem::LinearElasticitySolver::LinearElasticitySolver ( Mesh * mesh_,
int order_,
Coefficient * lambda_cf_,
Coefficient * mu_cf_ )

Definition at line 568 of file ex37.hpp.

◆ ~LinearElasticitySolver()

mfem::LinearElasticitySolver::~LinearElasticitySolver ( )

Definition at line 736 of file ex37.hpp.

Member Function Documentation

◆ GetFEMSolution()

GridFunction * mfem::LinearElasticitySolver::GetFEMSolution ( )

Definition at line 716 of file ex37.hpp.

◆ GetLinearForm()

LinearForm * mfem::LinearElasticitySolver::GetLinearForm ( )
inline

Definition at line 353 of file ex37.hpp.

◆ GetParFEMSolution()

ParGridFunction * mfem::LinearElasticitySolver::GetParFEMSolution ( )

Definition at line 722 of file ex37.hpp.

◆ GetParLinearForm()

ParLinearForm * mfem::LinearElasticitySolver::GetParLinearForm ( )
inline

Definition at line 356 of file ex37.hpp.

◆ ResetFEM()

void mfem::LinearElasticitySolver::ResetFEM ( )

◆ SetEssBdrData()

void mfem::LinearElasticitySolver::SetEssBdrData ( VectorCoefficient * essbdr_cf_)
inline

Definition at line 346 of file ex37.hpp.

◆ SetEssentialBoundary()

void mfem::LinearElasticitySolver::SetEssentialBoundary ( const Array< int > & ess_bdr_)
inline

Definition at line 344 of file ex37.hpp.

◆ SetLameCoefficients()

void mfem::LinearElasticitySolver::SetLameCoefficients ( Coefficient * lambda_cf_,
Coefficient * mu_cf_ )
inline

Definition at line 342 of file ex37.hpp.

◆ SetMesh()

void mfem::LinearElasticitySolver::SetMesh ( Mesh * mesh_)
inline

Definition at line 332 of file ex37.hpp.

◆ SetNeumannBoundary()

void mfem::LinearElasticitySolver::SetNeumannBoundary ( const Array< int > & neumann_bdr_)
inline

Definition at line 345 of file ex37.hpp.

◆ SetOrder()

void mfem::LinearElasticitySolver::SetOrder ( int order_)
inline

Definition at line 341 of file ex37.hpp.

◆ SetRHSCoefficient()

void mfem::LinearElasticitySolver::SetRHSCoefficient ( VectorCoefficient * rhs_cf_)
inline

Definition at line 343 of file ex37.hpp.

◆ SetupFEM()

void mfem::LinearElasticitySolver::SetupFEM ( )

Definition at line 579 of file ex37.hpp.

◆ Solve()

void mfem::LinearElasticitySolver::Solve ( )

Definition at line 614 of file ex37.hpp.


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