OGS
|
Definition at line 27 of file AssembledMatrixCache.h.
#include <AssembledMatrixCache.h>
Public Member Functions | |
AssembledMatrixCache (bool const is_linear, bool const use_monolithic_scheme) | |
template<typename VectorOfLocalAssemblers > | |
void | assemble (const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix *const M, GlobalMatrix *const K, GlobalVector *const b, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, VectorMatrixAssembler &global_assembler, VectorOfLocalAssemblers const &local_assemblers, std::vector< std::size_t > const &active_element_ids) |
bool | isLinear () const |
Private Attributes | |
bool const | is_linear_ |
std::unique_ptr< GlobalMatrix > | M_ {} |
std::unique_ptr< GlobalMatrix > | K_ {} |
std::unique_ptr< GlobalVector > | b_ {} |
ProcessLib::AssembledMatrixCache::AssembledMatrixCache | ( | bool const | is_linear, |
bool const | use_monolithic_scheme ) |
Definition at line 15 of file AssembledMatrixCache.cpp.
References is_linear_, OGS_FATAL, and WARN().
void ProcessLib::AssembledMatrixCache::assemble | ( | const double | t, |
double const | dt, | ||
std::vector< GlobalVector * > const & | x, | ||
std::vector< GlobalVector * > const & | x_prev, | ||
int const | process_id, | ||
GlobalMatrix *const | M, | ||
GlobalMatrix *const | K, | ||
GlobalVector *const | b, | ||
std::vector< NumLib::LocalToGlobalIndexMap const * > const & | dof_tables, | ||
VectorMatrixAssembler & | global_assembler, | ||
VectorOfLocalAssemblers const & | local_assemblers, | ||
std::vector< std::size_t > const & | active_element_ids ) |
Definition at line 53 of file AssembledMatrixCache.h.
References ProcessLib::VectorMatrixAssembler::assemble(), b_, MathLib::LinAlg::copy(), DBUG(), BaseLib::RunTime::elapsed(), NumLib::SerialExecutor::executeSelectedMemberDereferenced(), MathLib::finalizeMatrixAssembly(), MathLib::finalizeVectorAssembly(), INFO(), is_linear_, K_, M_, and BaseLib::RunTime::start().
Referenced by ProcessLib::ComponentTransport::ComponentTransportProcess::assembleConcreteProcess(), and ProcessLib::HeatConduction::HeatConductionProcess::assembleConcreteProcess().
|
inline |
Definition at line 42 of file AssembledMatrixCache.h.
References is_linear_.
Referenced by ProcessLib::ComponentTransport::ComponentTransportProcess::isLinear(), and ProcessLib::HeatConduction::HeatConductionProcess::isLinear().
|
private |
|
private |
Definition at line 45 of file AssembledMatrixCache.h.
Referenced by AssembledMatrixCache(), assemble(), and isLinear().
|
private |
|
private |