NeoPZ
Public Member Functions | Public Attributes | List of all members
TPZDohrAssembly< TVar > Class Template Reference

Assembling using Dohrmann algorithm. Sub structure. More...

#include <tpzdohrassembly.h>

Inheritance diagram for TPZDohrAssembly< TVar >:
[legend]
Collaboration diagram for TPZDohrAssembly< TVar >:
[legend]

Public Member Functions

void Assemble (int isub, const TPZFMatrix< TVar > &local, TPZFMatrix< TVar > &global) const
 Sum the values in the local matrix into the global matrix. More...
 
void Extract (int isub, const TPZFMatrix< TVar > &global, TPZFMatrix< TVar > &local) const
 Extract the values from the global matrix into the local matrix. More...
 
void AssembleCoarse (int isub, const TPZFMatrix< TVar > &local, TPZFMatrix< TVar > &global) const
 Sum the values in the local matrix into the global matrix. More...
 
void ExtractCoarse (int isub, const TPZFMatrix< TVar > &global, TPZFMatrix< TVar > &local) const
 Extract the values from the global matrix into the local matrix. More...
 
int ClassId () const override
 Define the class id associated with the class. More...
 
void Write (TPZStream &buf, int withclassid) const override
 method for streaming the object to a stream More...
 
void Read (TPZStream &buf, void *context) override
 method for reading the object for a stream More...
 
- Public Member Functions inherited from TPZSavable
 TPZSavable ()
 
virtual ~TPZSavable ()
 
virtual std::list< std::map< std::string, uint64_t > > VersionHistory () const
 
virtual std::pair< std::string, uint64_t > Version () const
 
virtual bool Compare (TPZSavable *copy, bool override=false)
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) const
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
- Public Member Functions inherited from TPZRegisterClassId
template<typename T >
 TPZRegisterClassId (int(T::*)() const)
 
 TPZRegisterClassId ()=default
 

Public Attributes

TPZVec< TPZVec< int > > fFineEqs
 For each substructure the equation numbering of the substructures. More...
 
TPZVec< TPZVec< int > > fCoarseEqs
 For each substructure the equation numbering of the coarse equations. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TPZSavable
static std::set< TPZRestoreClassBase * > & RestoreClassSet ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::map< int, TPZRestore_t > & ClassIdMap ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::pair< std::string, uint64_t > NeoPZVersion ()
 
static void Register (TPZRestoreClassBase *restore)
 
static void RegisterClassId (int classid, TPZRestore_t fun)
 
static TPZSavableCreateInstance (const int &classId)
 

Detailed Description

template<class TVar>
class TPZDohrAssembly< TVar >

Assembling using Dohrmann algorithm. Sub structure.

Author
Philippe Devloo
Since
04/03/2009

Definition at line 20 of file tpzdohrassembly.h.

Member Function Documentation

◆ Assemble()

template<class TVar>
void TPZDohrAssembly< TVar >::Assemble ( int  isub,
const TPZFMatrix< TVar > &  local,
TPZFMatrix< TVar > &  global 
) const

Sum the values in the local matrix into the global matrix.

Definition at line 19 of file tpzdohrassembly.cpp.

Referenced by TPZDohrStructMatrix::Assemble(), and TPZDohrStructMatrix::AssembleTBB().

◆ AssembleCoarse()

template<class TVar>
void TPZDohrAssembly< TVar >::AssembleCoarse ( int  isub,
const TPZFMatrix< TVar > &  local,
TPZFMatrix< TVar > &  global 
) const

Sum the values in the local matrix into the global matrix.

Definition at line 78 of file tpzdohrassembly.cpp.

◆ ClassId()

template<class TVar >
int TPZDohrAssembly< TVar >::ClassId ( ) const
overridevirtual

Define the class id associated with the class.

This id has to be unique for all classes A non unique id is flagged at the startup of the program

Implements TPZSavable.

Definition at line 124 of file tpzdohrassembly.cpp.

◆ Extract()

template<class TVar>
void TPZDohrAssembly< TVar >::Extract ( int  isub,
const TPZFMatrix< TVar > &  global,
TPZFMatrix< TVar > &  local 
) const

Extract the values from the global matrix into the local matrix.

Definition at line 48 of file tpzdohrassembly.cpp.

Referenced by main().

◆ ExtractCoarse()

template<class TVar>
void TPZDohrAssembly< TVar >::ExtractCoarse ( int  isub,
const TPZFMatrix< TVar > &  global,
TPZFMatrix< TVar > &  local 
) const

Extract the values from the global matrix into the local matrix.

Definition at line 107 of file tpzdohrassembly.cpp.

◆ Read()

template<class TVar >
void TPZDohrAssembly< TVar >::Read ( TPZStream buf,
void *  context 
)
overridevirtual

method for reading the object for a stream

Reimplemented from TPZSavable.

Definition at line 146 of file tpzdohrassembly.cpp.

◆ Write()

template<class TVar >
void TPZDohrAssembly< TVar >::Write ( TPZStream buf,
int  withclassid 
) const
overridevirtual

method for streaming the object to a stream

Reimplemented from TPZSavable.

Definition at line 130 of file tpzdohrassembly.cpp.

Member Data Documentation

◆ fCoarseEqs

template<class TVar>
TPZVec< TPZVec< int > > TPZDohrAssembly< TVar >::fCoarseEqs

For each substructure the equation numbering of the coarse equations.

Definition at line 29 of file tpzdohrassembly.h.

◆ fFineEqs

template<class TVar>
TPZVec< TPZVec< int > > TPZDohrAssembly< TVar >::fFineEqs

For each substructure the equation numbering of the substructures.

The order of the equations follows the ordering of the connects

Definition at line 26 of file tpzdohrassembly.h.


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