Nektar++
|
#include <ForcingMovingReferenceFrame.h>
Public Member Functions | |
Newmark_BetaSolver () | |
~Newmark_BetaSolver () | |
void | SetNewmarkBeta (NekDouble beta, NekDouble gamma, NekDouble dt, Array< OneD, NekDouble > M, Array< OneD, NekDouble > C, Array< OneD, NekDouble > K, std::set< int > DirDoFs) |
void | SolvePrescribed (Array< OneD, Array< OneD, NekDouble > > u, std::map< int, NekDouble > motionPrescribed) |
void | SolveFree (Array< OneD, Array< OneD, NekDouble > > u, Array< OneD, NekDouble > force) |
void | Solve (Array< OneD, Array< OneD, NekDouble > > u, Array< OneD, NekDouble > force, std::map< int, NekDouble > motionPrescribed) |
Public Attributes | |
int | m_rows |
int | m_motionDofs |
std::vector< int > | m_index |
Array< OneD, NekDouble > | m_coeffs |
Array< OneD, Array< OneD, NekDouble > > | m_Matrix |
Array< OneD, Array< OneD, NekDouble > > | m_M |
Array< OneD, Array< OneD, NekDouble > > | m_C |
Array< OneD, Array< OneD, NekDouble > > | m_K |
Definition at line 65 of file ForcingMovingReferenceFrame.h.
|
inline |
Definition at line 68 of file ForcingMovingReferenceFrame.h.
|
inline |
Definition at line 69 of file ForcingMovingReferenceFrame.h.
void Nektar::SolverUtils::Newmark_BetaSolver::SetNewmarkBeta | ( | NekDouble | beta, |
NekDouble | gamma, | ||
NekDouble | dt, | ||
Array< OneD, NekDouble > | M, | ||
Array< OneD, NekDouble > | C, | ||
Array< OneD, NekDouble > | K, | ||
std::set< int > | DirDoFs | ||
) |
Definition at line 1008 of file ForcingMovingReferenceFrame.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::LibUtilities::beta, Nektar::eFULL, m_C, m_coeffs, m_index, m_K, m_M, m_Matrix, m_motionDofs, m_rows, and tinysimd::sqrt().
Referenced by Nektar::SolverUtils::ForcingMovingReferenceFrame::InitBodySolver().
void Nektar::SolverUtils::Newmark_BetaSolver::Solve | ( | Array< OneD, Array< OneD, NekDouble > > | u, |
Array< OneD, NekDouble > | force, | ||
std::map< int, NekDouble > | motionPrescribed | ||
) |
Definition at line 1124 of file ForcingMovingReferenceFrame.cpp.
References SolveFree(), and SolvePrescribed().
Referenced by Nektar::SolverUtils::ForcingMovingReferenceFrame::SolveBodyMotion().
void Nektar::SolverUtils::Newmark_BetaSolver::SolveFree | ( | Array< OneD, Array< OneD, NekDouble > > | u, |
Array< OneD, NekDouble > | force | ||
) |
Definition at line 1132 of file ForcingMovingReferenceFrame.cpp.
References Vmath::Dot(), m_C, m_coeffs, m_index, m_K, m_M, m_Matrix, m_motionDofs, and m_rows.
Referenced by Solve(), and Nektar::SolverUtils::ForcingMovingReferenceFrame::SolveBodyMotion().
void Nektar::SolverUtils::Newmark_BetaSolver::SolvePrescribed | ( | Array< OneD, Array< OneD, NekDouble > > | u, |
std::map< int, NekDouble > | motionPrescribed | ||
) |
Definition at line 1083 of file ForcingMovingReferenceFrame.cpp.
References m_coeffs, and m_rows.
Referenced by Solve(), Nektar::SolverUtils::ForcingMovingReferenceFrame::SolveBodyMotion(), and Nektar::SolverUtils::ForcingMovingReferenceFrame::UpdateBoundaryConditions().
Definition at line 86 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), and SolveFree().
Definition at line 83 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), SolveFree(), and SolvePrescribed().
std::vector<int> Nektar::SolverUtils::Newmark_BetaSolver::m_index |
Definition at line 82 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), and SolveFree().
Definition at line 87 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), and SolveFree().
Definition at line 85 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), and SolveFree().
Definition at line 84 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), and SolveFree().
int Nektar::SolverUtils::Newmark_BetaSolver::m_motionDofs |
Definition at line 81 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), and SolveFree().
int Nektar::SolverUtils::Newmark_BetaSolver::m_rows |
Definition at line 80 of file ForcingMovingReferenceFrame.h.
Referenced by SetNewmarkBeta(), SolveFree(), and SolvePrescribed().