NeoPZ
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TPZAnalysis::ThreadData Struct Reference

#include <pzanalysis.h>

Collaboration diagram for TPZAnalysis::ThreadData:
[legend]

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...
 

Detailed Description

Definition at line 324 of file pzanalysis.h.

Constructor & Destructor Documentation

◆ ThreadData()

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.

◆ ~ThreadData()

TPZAnalysis::ThreadData::~ThreadData ( )

Definition at line 1525 of file pzanalysis.cpp.

References fAccessElement, fGetUniqueId, and PZ_PTHREAD_MUTEX_DESTROY.

Member Function Documentation

◆ ThreadWork()

void * TPZAnalysis::ThreadData::ThreadWork ( void *  threaddata)
static

Member Data Documentation

◆ fAccessElement

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().

◆ fElvec

TPZAdmChunkVector<TPZCompEl *> TPZAnalysis::ThreadData::fElvec

Definition at line 326 of file pzanalysis.h.

Referenced by ThreadWork().

◆ fExact

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().

◆ fGetUniqueId

pthread_mutex_t TPZAnalysis::ThreadData::fGetUniqueId

Mutexes (to sum error)

Definition at line 349 of file pzanalysis.h.

Referenced by ThreadData(), ThreadWork(), and ~ThreadData().

◆ fNextElement

int64_t TPZAnalysis::ThreadData::fNextElement

Definition at line 336 of file pzanalysis.h.

Referenced by ThreadWork().

◆ fStoreError

bool TPZAnalysis::ThreadData::fStoreError

Definition at line 340 of file pzanalysis.h.

Referenced by ThreadWork().

◆ ftid

int TPZAnalysis::ThreadData::ftid

Definition at line 338 of file pzanalysis.h.

Referenced by TPZAnalysis::PostProcessErrorParallel(), and ThreadWork().

◆ fvalues

TPZManVector<TPZManVector<REAL,10>,100> TPZAnalysis::ThreadData::fvalues

Definition at line 343 of file pzanalysis.h.

Referenced by TPZAnalysis::PostProcessErrorParallel(), and ThreadWork().


The documentation for this struct was generated from the following files: