OGS
|
Functions | |
void | assembleWithJacobianOneElement (const std::size_t mesh_item_id, ProcessLib::LocalAssemblerInterface &local_assembler, const NumLib::LocalToGlobalIndexMap &dof_table, const double t, const double dt, const GlobalVector &x, const GlobalVector &x_prev, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data, ProcessLib::AbstractJacobianAssembler &jacobian_assembler, ProcessLib::Assembly::MultiMatrixElementCache &cache) |
void | assembleWithJacobianForStaggeredSchemeOneElement (const std::size_t mesh_item_id, ProcessLib::LocalAssemblerInterface &local_assembler, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, const double t, const double dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data, ProcessLib::AbstractJacobianAssembler &jacobian_assembler, ProcessLib::Assembly::MultiMatrixElementCache &cache) |
std::vector< std::tuple< std::ptrdiff_t, std::reference_wrapper< ProcessLib::LocalAssemblerInterface > > > | collectActiveLocalAssemblers (BaseLib::PolymorphicRandomAccessContainerView< ProcessLib::LocalAssemblerInterface > const &local_assemblers, std::vector< std::size_t > const &active_elements) |
Returns a vector of active element ids with corresponding local assemblers. | |
void | runAssembly (std::vector< std::tuple< std::ptrdiff_t, std::reference_wrapper< ProcessLib::LocalAssemblerInterface > > > const &ids_local_assemblers, ThreadException &exception, auto local_matrix_output, auto assemble) |
int | getNumberOfThreads () |
void anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::assembleWithJacobianForStaggeredSchemeOneElement | ( | const std::size_t | mesh_item_id, |
ProcessLib::LocalAssemblerInterface & | local_assembler, | ||
std::vector< NumLib::LocalToGlobalIndexMap const * > const & | dof_tables, | ||
const double | t, | ||
const double | dt, | ||
std::vector< GlobalVector * > const & | x, | ||
std::vector< GlobalVector * > const & | x_prev, | ||
int const | process_id, | ||
std::vector< double > & | local_b_data, | ||
std::vector< double > & | local_Jac_data, | ||
ProcessLib::AbstractJacobianAssembler & | jacobian_assembler, | ||
ProcessLib::Assembly::MultiMatrixElementCache & | cache ) |
Definition at line 60 of file ParallelVectorMatrixAssembler.cpp.
References ProcessLib::Assembly::MultiMatrixElementCache::add(), ProcessLib::AbstractJacobianAssembler::assembleWithJacobianForStaggeredScheme(), ProcessLib::getCoupledLocalSolutions(), NumLib::getIndices(), OGS_FATAL, and MathLib::toVector().
void anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::assembleWithJacobianOneElement | ( | const std::size_t | mesh_item_id, |
ProcessLib::LocalAssemblerInterface & | local_assembler, | ||
const NumLib::LocalToGlobalIndexMap & | dof_table, | ||
const double | t, | ||
const double | dt, | ||
const GlobalVector & | x, | ||
const GlobalVector & | x_prev, | ||
std::vector< double > & | local_b_data, | ||
std::vector< double > & | local_Jac_data, | ||
ProcessLib::AbstractJacobianAssembler & | jacobian_assembler, | ||
ProcessLib::Assembly::MultiMatrixElementCache & | cache ) |
Definition at line 28 of file ParallelVectorMatrixAssembler.cpp.
References ProcessLib::Assembly::MultiMatrixElementCache::add(), ProcessLib::AbstractJacobianAssembler::assembleWithJacobian(), MathLib::EigenVector::get(), NumLib::getIndices(), and OGS_FATAL.
std::vector< std::tuple< std::ptrdiff_t, std::reference_wrapper< ProcessLib::LocalAssemblerInterface > > > anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::collectActiveLocalAssemblers | ( | BaseLib::PolymorphicRandomAccessContainerView< ProcessLib::LocalAssemblerInterface > const & | local_assemblers, |
std::vector< std::size_t > const & | active_elements ) |
Returns a vector of active element ids with corresponding local assemblers.
Definition at line 110 of file ParallelVectorMatrixAssembler.cpp.
int anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::getNumberOfThreads | ( | ) |
Definition at line 172 of file ParallelVectorMatrixAssembler.cpp.
References OGS_FATAL, and BaseLib::trim().
void anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::runAssembly | ( | std::vector< std::tuple< std::ptrdiff_t, std::reference_wrapper< ProcessLib::LocalAssemblerInterface > > > const & | ids_local_assemblers, |
ThreadException & | exception, | ||
auto | local_matrix_output, | ||
auto | assemble ) |
Definition at line 137 of file ParallelVectorMatrixAssembler.cpp.
References ThreadException::capture().