fixed: wrong projection basis for tensor subgrid
This commit is contained in:
parent
3e6edab293
commit
73d6e85745
@ -203,8 +203,11 @@ bool ASMs2Dmx::generateFEMTopology ()
|
||||
|
||||
// we need to project on something that is not one of our bases
|
||||
if (ASMmxBase::Type == ASMmxBase::REDUCED_CONT_RAISE_BASIS1 ||
|
||||
ASMmxBase::Type == ASMmxBase::REDUCED_CONT_RAISE_BASIS2 ||
|
||||
ASMmxBase::Type == ASMmxBase::DIV_COMPATIBLE)
|
||||
projB = proj = ASMmxBase::raiseBasis(surf);
|
||||
else if (ASMmxBase::Type == ASMmxBase::SUBGRID)
|
||||
projB = proj = m_basis.front()->clone();
|
||||
else
|
||||
projB = proj = m_basis[2-ASMmxBase::geoBasis]->clone();
|
||||
}
|
||||
|
@ -204,8 +204,11 @@ bool ASMs3Dmx::generateFEMTopology ()
|
||||
|
||||
// we need to project on something that is not one of our bases
|
||||
if (ASMmxBase::Type == ASMmxBase::REDUCED_CONT_RAISE_BASIS1 ||
|
||||
ASMmxBase::Type == ASMmxBase::REDUCED_CONT_RAISE_BASIS2 ||
|
||||
ASMmxBase::Type == ASMmxBase::DIV_COMPATIBLE)
|
||||
projB = proj = ASMmxBase::raiseBasis(svol);
|
||||
else if (ASMmxBase::Type == ASMmxBase::SUBGRID)
|
||||
projB = proj = m_basis.front()->clone();
|
||||
else
|
||||
projB = proj = m_basis[2-ASMmxBase::geoBasis]->clone();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user