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 }

References cache_b_, and cache_Jac_.

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

Member Data Documentation

◆ cache_b_

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

Definition at line 276 of file MatrixElementCache.h.

Referenced by MultiMatrixElementCache(), and add().

◆ cache_Jac_

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

Definition at line 277 of file MatrixElementCache.h.

Referenced by MultiMatrixElementCache(), and add().


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