OGS
ParallelVectorMatrixAssembler.cpp File Reference

Detailed Description

Definition in file ParallelVectorMatrixAssembler.cpp.

#include "ParallelVectorMatrixAssembler.h"
#include <cstdlib>
#include <fstream>
#include <range/v3/view/iota.hpp>
#include <vector>
#include "BaseLib/StringTools.h"
#include "BaseLib/ThreadException.h"
#include "NumLib/DOF/DOFTableUtil.h"
#include "ProcessLib/Assembly/MatrixAssemblyStats.h"
#include "ProcessLib/Assembly/MatrixElementCache.h"
#include "ProcessLib/Assembly/MatrixOutput.h"
#include "ProcessLib/CoupledSolutionsForStaggeredScheme.h"
Include dependency graph for ParallelVectorMatrixAssembler.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{ParallelVectorMatrixAssembler.cpp}
 
namespace  ProcessLib
 
namespace  ProcessLib::Assembly
 

Functions

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)
 
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)
 
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.
 
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)
 
int anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::getNumberOfThreads ()