Skip to content
Snippets Groups Projects
Commit 23f18d12 authored by Pavel Burovskiy's avatar Pavel Burovskiy
Browse files

Adding UniversalAssembleBnd call to matrix multiply routines

parent c6e61295
No related branches found
No related tags found
No related merge requests found
...@@ -858,10 +858,10 @@ namespace Nektar ...@@ -858,10 +858,10 @@ namespace Nektar
* \f$N_{\mathrm{dof}}\f$. * \f$N_{\mathrm{dof}}\f$.
*/ */
void ContField2D::v_GeneralMatrixOp( void ContField2D::v_GeneralMatrixOp(
const GlobalMatrixKey &gkey, const GlobalMatrixKey &gkey,
const Array<OneD,const NekDouble> &inarray, const Array<OneD,const NekDouble> &inarray,
Array<OneD, NekDouble> &outarray, Array<OneD, NekDouble> &outarray,
CoeffState coeffstate) CoeffState coeffstate)
{ {
if(coeffstate == eGlobal) if(coeffstate == eGlobal)
{ {
...@@ -872,6 +872,7 @@ namespace Nektar ...@@ -872,6 +872,7 @@ namespace Nektar
{ {
GlobalMatrixSharedPtr mat = GetGlobalMatrix(gkey); GlobalMatrixSharedPtr mat = GetGlobalMatrix(gkey);
mat->Multiply(inarray,outarray); mat->Multiply(inarray,outarray);
m_locToGloMap->UniversalAssemble(outarray);
} }
else else
{ {
......
...@@ -542,6 +542,7 @@ namespace Nektar ...@@ -542,6 +542,7 @@ namespace Nektar
{ {
GlobalMatrixSharedPtr mat = GetGlobalMatrix(gkey); GlobalMatrixSharedPtr mat = GetGlobalMatrix(gkey);
mat->Multiply(inarray,outarray); mat->Multiply(inarray,outarray);
m_locToGloMap->UniversalAssemble(outarray);
} }
else else
{ {
......
...@@ -861,6 +861,9 @@ namespace Nektar ...@@ -861,6 +861,9 @@ namespace Nektar
Array<OneD, NekDouble> out = pOutput+ nDir; Array<OneD, NekDouble> out = pOutput+ nDir;
m_globalSchurCompl->Multiply(in,out); m_globalSchurCompl->Multiply(in,out);
m_locToGloMap->UniversalAssembleBnd(pOutput);
} }
else else
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment