8 #if !defined(KRATOS_PORO_NEWMARK_QUASISTATIC_DAMPED_U_PW_SCHEME )
9 #define KRATOS_PORO_NEWMARK_QUASISTATIC_DAMPED_U_PW_SCHEME
18 template<
class TSparseSpace,
class TDenseSpace>
Base class for all Elements.
Definition: element.h:60
virtual void GetFirstDerivativesVector(Vector &values, int Step=0) const
Definition: element.h:310
virtual void CalculateLeftHandSide(MatrixType &rLeftHandSideMatrix, const ProcessInfo &rCurrentProcessInfo)
Definition: element.h:423
virtual void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo)
Definition: element.h:437
virtual void CalculateDampingMatrix(MatrixType &rDampingMatrix, const ProcessInfo &rCurrentProcessInfo)
Definition: element.h:583
virtual void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const
Definition: element.h:258
virtual void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo)
Definition: element.h:405
std::vector< std::size_t > EquationIdVectorType
Definition: element.h:98
static int ThisThread()
Wrapper for omp_get_thread_num().
Definition: openmp_utils.h:108
static int GetNumThreads()
Returns the current number of threads.
Definition: parallel_utilities.cpp:34
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:21
std::vector< Vector > mVelocityVector
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:136
void AddDampingToRHS(Element &rCurrentElement, LocalSystemVectorType &RHS_Contribution, LocalSystemMatrixType &C, const ProcessInfo &CurrentProcessInfo)
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:149
BaseType::LocalSystemMatrixType LocalSystemMatrixType
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:29
KRATOS_CLASS_POINTER_DEFINITION(PoroNewmarkQuasistaticDampedUPwScheme)
~PoroNewmarkQuasistaticDampedUPwScheme() override
Destructor.
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:49
std::vector< Matrix > mDampingMatrix
Member Variables.
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:135
Scheme< TSparseSpace, TDenseSpace > BaseType
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:27
void CalculateRHSContribution(Element &rCurrentElement, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &EquationId, const ProcessInfo &CurrentProcessInfo) override
This function is designed to calculate just the RHS contribution.
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:83
void AddDampingToLHS(LocalSystemMatrixType &LHS_Contribution, LocalSystemMatrixType &C, const ProcessInfo &CurrentProcessInfo)
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:140
PoroNewmarkQuasistaticDampedUPwScheme(double beta, double gamma, double theta)
Constructor.
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:37
void CalculateSystemContributions(Element &rCurrentElement, LocalSystemMatrixType &LHS_Contribution, LocalSystemVectorType &RHS_Contribution, Element::EquationIdVectorType &EquationId, const ProcessInfo &CurrentProcessInfo) override
This function is designed to be called in the builder and solver to introduce the selected time integ...
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:55
void CalculateLHSContribution(Element &rCurrentElement, LocalSystemMatrixType &LHS_Contribution, Element::EquationIdVectorType &EquationId, const ProcessInfo &CurrentProcessInfo) override
This function is designed to calculate just the LHS contribution.
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:108
BaseType::LocalSystemVectorType LocalSystemVectorType
Definition: poro_newmark_quasistatic_damped_U_Pw_scheme.hpp:28
Definition: poro_newmark_quasistatic_U_Pw_scheme.hpp:32
double mGamma
Definition: poro_newmark_quasistatic_U_Pw_scheme.hpp:526
double mBeta
Member Variables.
Definition: poro_newmark_quasistatic_U_Pw_scheme.hpp:525
double mDeltaTime
Definition: poro_newmark_quasistatic_U_Pw_scheme.hpp:528
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
This class provides the implementation of the basic tasks that are needed by the solution strategy.
Definition: scheme.h:56
virtual void EquationId(const Element &rElement, Element::EquationIdVectorType &rEquationId, const ProcessInfo &rCurrentProcessInfo)
This method gets the eqaution id corresponding to the current element.
Definition: scheme.h:636
typename TDenseSpace::VectorType LocalSystemVectorType
Local system vector type definition.
Definition: scheme.h:80
typename TDenseSpace::MatrixType LocalSystemMatrixType
Local system matrix type definition.
Definition: scheme.h:77
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
AMatrix::MatrixProductExpression< TExpression1Type, TExpression2Type > prod(AMatrix::MatrixExpression< TExpression1Type, TCategory1 > const &First, AMatrix::MatrixExpression< TExpression2Type, TCategory2 > const &Second)
Definition: amatrix_interface.h:568
T & noalias(T &TheMatrix)
Definition: amatrix_interface.h:484
int C
Definition: generate_hyper_elastic_simo_taylor_neo_hookean.py:27
float gamma
Definition: generate_two_fluid_navier_stokes.py:131