12#ifndef BELFEM_CL_FEM_TIMESTEPMATRICES_HPP
13#define BELFEM_CL_FEM_TIMESTEPMATRICES_HPP
136 mFlags.set(
static_cast< index_t >( aFlag ) );
142 return mFlags.test(
static_cast< index_t >( aFlag ) );
void reset()
Definition cl_TimestepMatrices.cpp:70
const Matrix< real > & dMdx_times_x() const
Definition cl_TimestepMatrices.hpp:163
const Matrix< real > & dMdx_times_h() const
Definition cl_TimestepMatrices.hpp:164
bool has_flag(const MatrixFlag aFlag) const
Definition cl_TimestepMatrices.hpp:140
const Matrix< real > & J() const
Definition cl_TimestepMatrices.hpp:168
const Matrix< real > & dKdx_times_x() const
Definition cl_TimestepMatrices.hpp:165
TimestepMatrices()=default
const Bitset< 8 > & flags() const
Direct access to flags bitset.
Definition cl_TimestepMatrices.hpp:149
void reset_flags()
Clear all flags ( unused; the IWG sets its flags once in the constructor ).
Definition cl_TimestepMatrices.hpp:128
Matrix< real > & D()
Definition cl_TimestepMatrices.hpp:176
Matrix< real > & dKdx_times_x()
Definition cl_TimestepMatrices.hpp:182
Matrix< real > & M()
Definition cl_TimestepMatrices.hpp:175
void initialize(const index_t aNumDofs)
Initialize all matrices to given size.
Definition cl_TimestepMatrices.cpp:22
const Matrix< real > & dJdx() const
Definition cl_TimestepMatrices.hpp:169
Vector< real > & f()
Definition cl_TimestepMatrices.hpp:178
const Matrix< real > & D() const
Definition cl_TimestepMatrices.hpp:159
const Matrix< real > & M() const
Definition cl_TimestepMatrices.hpp:158
Matrix< real > & dMdx_times_x()
Definition cl_TimestepMatrices.hpp:180
void set_flag(const MatrixFlag aFlag)
Definition cl_TimestepMatrices.hpp:134
Matrix< real > & K()
Definition cl_TimestepMatrices.hpp:177
const Matrix< real > & K() const
Definition cl_TimestepMatrices.hpp:160
Matrix< real > & dfdx()
Definition cl_TimestepMatrices.hpp:183
Matrix< real > & dMdx_times_h()
Definition cl_TimestepMatrices.hpp:181
~TimestepMatrices()=default
void assemble_J(const real adt)
Definition cl_TimestepMatrices.cpp:119
const Matrix< real > & dfdx() const
Definition cl_TimestepMatrices.hpp:166
void assemble_dJdx(const real adt, const real aAlpha=1.0)
Assemble the Newton correction dJ/dx.
Definition cl_TimestepMatrices.cpp:138
const Vector< real > & f() const
Definition cl_TimestepMatrices.hpp:161
Definition cl_IFB_LINE3.hpp:21
MatrixFlag
Flags indicating which matrices/vectors have been set by the IWG.
Definition cl_TimestepMatrices.hpp:32
@ dKdX_times_x
Contracted stiffness derivative.
Definition cl_TimestepMatrices.hpp:39
@ dFdX
Force vector Jacobian df_i/dx_j.
Definition cl_TimestepMatrices.hpp:40
@ M
Mass matrix.
Definition cl_TimestepMatrices.hpp:33
@ dMdX_times_h
Contracted mass derivative with history: (dM_ik/dx_j) * h_k.
Definition cl_TimestepMatrices.hpp:38
@ K
Stiffness matrix.
Definition cl_TimestepMatrices.hpp:35
@ dMdX_times_x
Contracted mass derivative: (dM_ik/dx_j) * x_k.
Definition cl_TimestepMatrices.hpp:37
@ D
Damping matrix (reserved for second-order).
Definition cl_TimestepMatrices.hpp:34
USER GUIDES:
Definition cl_Capacitor.cpp:16
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36