mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
optimize quad-mapping
This commit is contained in:
parent
f6a26637de
commit
e67c48c094
@ -1752,6 +1752,18 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Point<2> _xi(xi);
|
||||||
|
Point<3> _x;
|
||||||
|
Mat<3,2> _dxdxi;
|
||||||
|
if (EvaluateMapping (info, _xi, _x, _dxdxi))
|
||||||
|
{
|
||||||
|
if (x) *x = _x;
|
||||||
|
if (dxdxi) *dxdxi = _dxdxi;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ArrayMem<Vec<3>,100> coefs(info.ndof);
|
ArrayMem<Vec<3>,100> coefs(info.ndof);
|
||||||
ArrayMem<double, 100> shapes_mem(info.ndof);
|
ArrayMem<double, 100> shapes_mem(info.ndof);
|
||||||
TFlatVector<double> shapes(info.ndof, &shapes_mem[0]);
|
TFlatVector<double> shapes(info.ndof, &shapes_mem[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user