mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
little polish
This commit is contained in:
parent
ca57759604
commit
5ada92bcdb
@ -210,12 +210,8 @@ namespace netgen
|
||||
A_ = A_ * R_;
|
||||
Ainv_ = Trans(R_) * Ainv_;
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
for (int j = 0; j < 2; j++)
|
||||
{
|
||||
Amat(i,j) = A_(i,j);
|
||||
Amatinv(i,j) = Ainv_(i,j);
|
||||
}
|
||||
Amat = A_;
|
||||
Amatinv = Ainv_;
|
||||
|
||||
// temp = Amatinv * (psp2-psp1);
|
||||
|
||||
|
@ -2725,10 +2725,11 @@ namespace netgen
|
||||
{
|
||||
// NgProfiler::RegionTimer reg2 (timer2);
|
||||
|
||||
int nse = mesh->GetNSE();
|
||||
for (int i = 0; i < nse; i++)
|
||||
// int nse = mesh->GetNSE();
|
||||
// for (int i = 0; i < nse; i++)
|
||||
for (SurfaceElementIndex i : mesh->SurfaceElements().Range())
|
||||
{
|
||||
ELEMENT_TYPE type = mesh->SurfaceElement(i+1).GetType();
|
||||
ELEMENT_TYPE type = (*mesh)[i].GetType();
|
||||
double val;
|
||||
bool considerElem = (type == QUAD)
|
||||
? GetSurfValue (sol, i, -1, 0.5, 0.5, comp, val)
|
||||
|
Loading…
Reference in New Issue
Block a user