MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / S_ParallelBaseVectorPtr

Method S_ParallelBaseVectorPtr

parallel/parallelvvector.cpp:350–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348
349 template <class SCAL>
350 S_ParallelBaseVectorPtr<SCAL> ::
351 S_ParallelBaseVectorPtr (int as, int aes,
352 shared_ptr<ParallelDofs> apd, PARALLEL_STATUS stat) throw()
353 : S_BaseVectorPtr<SCAL> (as, aes)
354 {
355 // recvvalues = NULL;
356 if ( apd != 0 )
357 {
358 this -> SetParallelDofs ( apd );
359 status = stat;
360 }
361 else
362 {
363 paralleldofs = 0;
364 status = NOT_PARALLEL;
365 }
366 local_vec = make_shared<S_BaseVectorPtr<SCAL>>(as, aes, (void*)pdata);
367 }
368
369
370 template <class SCAL>

Callers

nothing calls this directly

Calls 1

SetParallelDofsMethod · 0.80

Tested by

no test coverage detected