OGS
ProcessLib::Assembly::MultiMatrixElementCache Class Referencefinal

Detailed Description

Definition at line 255 of file MatrixElementCache.h.

#include <MatrixElementCache.h>

Collaboration diagram for ProcessLib::Assembly::MultiMatrixElementCache:
[legend]

Public Member Functions

 MultiMatrixElementCache (GlobalVectorView &b, GlobalMatrixView &Jac, MultiStats &stats)
 
void add (std::vector< double > const &local_b_data, std::vector< double > const &local_Jac_data, std::vector< GlobalIndexType > const &indices)
 

Private Types

using GlobalMatrixView = ConcurrentMatrixView<2>
 
using GlobalVectorView = ConcurrentMatrixView<1>
 

Private Attributes

MatrixElementCache< 1 > cache_b_
 
MatrixElementCache< 2 > cache_Jac_
 

Member Typedef Documentation

◆ GlobalMatrixView

◆ GlobalVectorView

Constructor & Destructor Documentation

◆ MultiMatrixElementCache()

ProcessLib::Assembly::MultiMatrixElementCache::MultiMatrixElementCache ( GlobalVectorView & b,
GlobalMatrixView & Jac,
MultiStats & stats )
inline

Definition at line 261 of file MatrixElementCache.h.

263 : cache_b_(b, stats.b), cache_Jac_(Jac, stats.Jac)
264 {
265 }

Member Function Documentation

◆ add()

void ProcessLib::Assembly::MultiMatrixElementCache::add ( std::vector< double > const & local_b_data,
std::vector< double > const & local_Jac_data,
std::vector< GlobalIndexType > const & indices )
inline

Definition at line 267 of file MatrixElementCache.h.

270 {
271 cache_b_.add(local_b_data, indices);
272 cache_Jac_.add(local_Jac_data, indices);
273 }
void add(std::vector< double > const &local_data, std::vector< GlobalIndexType > const &indices)

References ProcessLib::Assembly::MatrixElementCache< Dim >::add(), cache_b_, and cache_Jac_.

Referenced by anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::assembleWithJacobianForStaggeredSchemeOneElement(), and anonymous_namespace{ParallelVectorMatrixAssembler.cpp}::assembleWithJacobianOneElement().

Member Data Documentation

◆ cache_b_

MatrixElementCache<1> ProcessLib::Assembly::MultiMatrixElementCache::cache_b_
private

Definition at line 276 of file MatrixElementCache.h.

Referenced by add().

◆ cache_Jac_

MatrixElementCache<2> ProcessLib::Assembly::MultiMatrixElementCache::cache_Jac_
private

Definition at line 277 of file MatrixElementCache.h.

Referenced by add().


The documentation for this class was generated from the following file: