NeoPZ
|
#include <pzanalysis.h>
Public Member Functions | |
ThreadData (TPZAdmChunkVector< TPZCompEl *> &elvec, bool store_error, std::function< void(const TPZVec< REAL > &loc, TPZVec< STATE > &result, TPZFMatrix< STATE > &deriv)> f) | |
~ThreadData () | |
Static Public Member Functions | |
static void * | ThreadWork (void *threaddata) |
Public Attributes | |
TPZAdmChunkVector< TPZCompEl * > | fElvec |
std::function< void(const TPZVec< REAL > &loc, TPZVec< STATE > &result, TPZFMatrix< STATE > &deriv)> | fExact |
int64_t | fNextElement |
int | ftid |
bool | fStoreError |
TPZManVector< TPZManVector< REAL, 10 >, 100 > | fvalues |
pthread_mutex_t | fAccessElement |
Mutexes (to choose which element is next) More... | |
pthread_mutex_t | fGetUniqueId |
Mutexes (to sum error) More... | |
Definition at line 324 of file pzanalysis.h.
TPZAnalysis::ThreadData::ThreadData | ( | TPZAdmChunkVector< TPZCompEl *> & | elvec, |
bool | store_error, | ||
std::function< void(const TPZVec< REAL > &loc, TPZVec< STATE > &result, TPZFMatrix< STATE > &deriv)> | f | ||
) |
Definition at line 1519 of file pzanalysis.cpp.
References fAccessElement, fGetUniqueId, and PZ_PTHREAD_MUTEX_INIT.
TPZAnalysis::ThreadData::~ThreadData | ( | ) |
Definition at line 1525 of file pzanalysis.cpp.
References fAccessElement, fGetUniqueId, and PZ_PTHREAD_MUTEX_DESTROY.
|
static |
Definition at line 610 of file pzanalysis.cpp.
References TPZCompEl::EvaluateError(), fAccessElement, fElvec, fExact, fGetUniqueId, fNextElement, fStoreError, ftid, fvalues, TPZVec< T >::NElements(), TPZChunkVector< T, EXP >::NElements(), PZ_PTHREAD_MUTEX_LOCK, PZ_PTHREAD_MUTEX_UNLOCK, and TPZManVector< T, NumExtAlloc >::Resize().
Referenced by TPZAnalysis::PostProcessErrorParallel().
pthread_mutex_t TPZAnalysis::ThreadData::fAccessElement |
Mutexes (to choose which element is next)
Definition at line 346 of file pzanalysis.h.
Referenced by ThreadData(), ThreadWork(), and ~ThreadData().
TPZAdmChunkVector<TPZCompEl *> TPZAnalysis::ThreadData::fElvec |
Definition at line 326 of file pzanalysis.h.
Referenced by ThreadWork().
std::function<void (const TPZVec<REAL> &loc, TPZVec<STATE> &result, TPZFMatrix<STATE> &deriv)> TPZAnalysis::ThreadData::fExact |
Definition at line 334 of file pzanalysis.h.
Referenced by ThreadWork().
pthread_mutex_t TPZAnalysis::ThreadData::fGetUniqueId |
Mutexes (to sum error)
Definition at line 349 of file pzanalysis.h.
Referenced by ThreadData(), ThreadWork(), and ~ThreadData().
int64_t TPZAnalysis::ThreadData::fNextElement |
Definition at line 336 of file pzanalysis.h.
Referenced by ThreadWork().
bool TPZAnalysis::ThreadData::fStoreError |
Definition at line 340 of file pzanalysis.h.
Referenced by ThreadWork().
int TPZAnalysis::ThreadData::ftid |
Definition at line 338 of file pzanalysis.h.
Referenced by TPZAnalysis::PostProcessErrorParallel(), and ThreadWork().
TPZManVector<TPZManVector<REAL,10>,100> TPZAnalysis::ThreadData::fvalues |
Definition at line 343 of file pzanalysis.h.
Referenced by TPZAnalysis::PostProcessErrorParallel(), and ThreadWork().