LifeV
|
#include <VenantKirchhoffElasticHandler.hpp>
Type definitions | |
typedef Real(* | Function) (const Real &, const Real &, const Real &, const Real &, const ID &) |
typedef std::function< Real(Real const &, Real const &, Real const &, Real const &, ID const &) > | source_Type |
typedef BCHandler | bchandlerRaw_Type |
typedef std::shared_ptr< bchandlerRaw_type > | bchandler_Type |
Constructors & Destructor | |
VenantKirchhoffElasticHandler () | |
setUp (const VenantKirchhoffElasticData< Mesh > &data, const RefernceFE &refFE, const QuadratureRule &Qr, const QuadratureRule &bdQr, BCHandler &BCh) | |
setUp (const VenantKirchhoffElasticData< Mesh > &data, const ReferenceFE &refFE, const QuadratureRule &Qr, const QuadratureRule &bdQr) | |
virtual | ~VenantKirchhoffElasticHandler () |
Destructor. More... | |
Methods | |
virtual void | timeAdvance (source_Type const &, const Real &time)=0 |
Update the right hand side for time advancing. More... | |
virtual void | iterate ()=0 |
Solve the non-linear problem. More... | |
void | postProcess () |
Postprocessing. More... | |
void | initialize (const Function &d0, const Function &w0) |
Sets initial condition for the displacment en velocity. More... | |
void | initialize (const std::string &depName, const std::string &velName, Real startT=0.) |
Set methods | |
const bool | setSolidBC () const |
checking if BC are set More... | |
void | setSolidBC (BCHandler &BCh_solid) |
set the fluid BCs More... | |
Get methods | |
PhysVectUnknown< Vector > & | getDisplacement () |
Returns the displacement vector. More... | |
PhysVectUnknown< Vector > & | getVelocity () |
Returns the velocity vector. More... | |
const UInt | getDimension () const |
Returns the number of unknowns. More... | |
const ReferenceFE & | getRefFE () const |
Returns the reference FE object. More... | |
CurrentFE & | getFe () |
Returns the current FE object. More... | |
const CurrentFE & | getFe () const |
Returns the current FE object. More... | |
CurrentFEManifold & | getFeBd () |
Returns the current boundary FE object. More... | |
const DOF & | getdDof () const |
Returns the DOF object. More... | |
BCHandler & | getBCh_solid () |
Returns the BCHandler object. More... | |
Provate Methods | |
const ReferenceFE & | M_refFE |
Reference FE. More... | |
DOF | M_dof |
The DOF object. More... | |
UInt | M_dim |
The number of total displacement dofs. More... | |
const QuadratureRule & | M_Qr |
Quadrature rule for volumic elementary computations. More... | |
const QuadratureRule & | M_bdQr |
Quadrature rule for elementary computations. More... | |
CurrentFE | M_fe |
Current FE. More... | |
CurrentFEManifold | M_feBd |
Current boundary FE. More... | |
PhysVectUnknown< Vector > | M_d |
The displacement. More... | |
PhysVectUnknown< Vector > | M_dRhs |
PhysVectUnknown< Vector > | M_w |
The velocity. More... | |
Real | M_time |
The current time. More... | |
UInt | M_count |
Aux. var. for PostProc. More... | |
BCHandler * | M_BCh_solid |
The BC handler. More... | |
bool | M_setBC |
VenantKirchhoffElasticHandler (VenantKirchhoffElasticHandler &T) | |
Definition at line 60 of file VenantKirchhoffElasticHandler.hpp.
Definition at line 68 of file VenantKirchhoffElasticHandler.hpp.
typedef std::function<Real ( Real const&, Real const&, Real const&, Real const&, ID const& ) > source_Type |
Definition at line 69 of file VenantKirchhoffElasticHandler.hpp.
typedef BCHandler bchandlerRaw_Type |
Definition at line 70 of file VenantKirchhoffElasticHandler.hpp.
typedef std::shared_ptr<bchandlerRaw_type> bchandler_Type |
Definition at line 71 of file VenantKirchhoffElasticHandler.hpp.
Definition at line 282 of file VenantKirchhoffElasticHandler.hpp.
|
inlinevirtual |
Destructor.
Definition at line 105 of file VenantKirchhoffElasticHandler.hpp.
|
private |
!private copy constructor:this class should not be copied /*! if you need a copy you should implement it, so that it copies the shared pointer one by one, without copying the content.
setUp | ( | const VenantKirchhoffElasticData< Mesh > & | data, |
const RefernceFE & | refFE, | ||
const QuadratureRule & | Qr, | ||
const QuadratureRule & | bdQr, | ||
BCHandler & | BCh | ||
) |
data_file | GetPot data file |
refFE | reference FE for the displacement |
Qr | volumic quadrature rule |
bdQr | surface quadrature |
BCh | boundary conditions for the displacement |
setUp | ( | const VenantKirchhoffElasticData< Mesh > & | data, |
const ReferenceFE & | refFE, | ||
const QuadratureRule & | Qr, | ||
const QuadratureRule & | bdQr | ||
) |
data_file | GetPot data file |
refFE | reference FE for the displacement |
Qr | volumic quadrature rule |
bdQr | surface quadrature |
Definition at line 325 of file VenantKirchhoffElasticHandler.hpp.
|
pure virtual |
Update the right hand side for time advancing.
source | volumic force |
time | present time |
|
pure virtual |
Solve the non-linear problem.
void postProcess | ( | ) |
Postprocessing.
Definition at line 367 of file VenantKirchhoffElasticHandler.hpp.
Sets initial condition for the displacment en velocity.
d0 | space function defining the initial displacement |
w0 | space function defining the initial velocity |
Definition at line 423 of file VenantKirchhoffElasticHandler.hpp.
void initialize | ( | const std::string & | depName, |
const std::string & | velName, | ||
Real | startT = 0. |
||
) |
depName | file containing the initial displacement vector |
velName | file containing the initial velocity vector |
starT | starting time when the displacement and the velocity vectors are set |
Definition at line 556 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
checking if BC are set
Definition at line 149 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
set the fluid BCs
BCh_solid | BCHandler object containing the boundary conditions |
Definition at line 158 of file VenantKirchhoffElasticHandler.hpp.
PhysVectUnknown<Vector>& getDisplacement | ( | ) |
Returns the displacement vector.
PhysVectUnknown<Vector>& getVelocity | ( | ) |
Returns the velocity vector.
|
inline |
Returns the number of unknowns.
Definition at line 176 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
Returns the reference FE object.
Definition at line 182 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
Returns the current FE object.
Definition at line 188 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
Returns the current FE object.
Definition at line 193 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
Returns the current boundary FE object.
Definition at line 198 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
Returns the DOF object.
Definition at line 203 of file VenantKirchhoffElasticHandler.hpp.
|
inline |
Returns the BCHandler object.
Definition at line 209 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Reference FE.
Definition at line 225 of file VenantKirchhoffElasticHandler.hpp.
|
private |
The DOF object.
Definition at line 238 of file VenantKirchhoffElasticHandler.hpp.
|
private |
The number of total displacement dofs.
Definition at line 241 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Quadrature rule for volumic elementary computations.
Definition at line 244 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Quadrature rule for elementary computations.
Definition at line 247 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Current FE.
Definition at line 250 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Current boundary FE.
Definition at line 253 of file VenantKirchhoffElasticHandler.hpp.
|
private |
The displacement.
Definition at line 256 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Definition at line 257 of file VenantKirchhoffElasticHandler.hpp.
|
private |
The velocity.
Definition at line 260 of file VenantKirchhoffElasticHandler.hpp.
|
private |
The current time.
Definition at line 263 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Aux. var. for PostProc.
Definition at line 266 of file VenantKirchhoffElasticHandler.hpp.
|
private |
The BC handler.
Definition at line 269 of file VenantKirchhoffElasticHandler.hpp.
|
private |
Definition at line 271 of file VenantKirchhoffElasticHandler.hpp.