mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
archive
This commit is contained in:
parent
763f8f9660
commit
7f8fc52371
@ -12,7 +12,6 @@
|
||||
C++ interface to Netgen
|
||||
*/
|
||||
|
||||
|
||||
namespace netgen
|
||||
{
|
||||
struct T_EDGE2
|
||||
|
@ -7,8 +7,6 @@
|
||||
#include "nginterface.h"
|
||||
#include "nginterface_v2.hpp"
|
||||
|
||||
#include "../general/archive_base.hpp"
|
||||
|
||||
namespace netgen
|
||||
{
|
||||
#include "writeuser.hpp"
|
||||
|
@ -1598,9 +1598,6 @@ namespace netgen
|
||||
|
||||
|
||||
|
||||
Vector shapes;
|
||||
MatrixFixWidth<2> dshapes;
|
||||
Array<Vec<3> > coefs;
|
||||
|
||||
const Element2d & el = mesh[elnr];
|
||||
ELEMENT_TYPE type = el.GetType();
|
||||
@ -1658,6 +1655,13 @@ namespace netgen
|
||||
}
|
||||
}
|
||||
|
||||
ArrayMem<Vec<3>,100> coefs(info.ndof);
|
||||
ArrayMem<double, 100> shapes_mem(info.ndof);
|
||||
Vector shapes(info.ndof, &shapes_mem[0]);
|
||||
ArrayMem<double, 200> dshapes_mem(2*info.ndof);
|
||||
MatrixFixWidth<2> dshapes(info.ndof, &dshapes_mem[0]);
|
||||
|
||||
|
||||
CalcElementShapes (info, xi, shapes);
|
||||
GetCoefficients (info, coefs);
|
||||
|
||||
@ -3255,10 +3259,6 @@ namespace netgen
|
||||
return;
|
||||
}
|
||||
|
||||
Vector shapes;
|
||||
MatrixFixWidth<2> dshapes;
|
||||
Array<Vec<DIM_SPACE> > coefs;
|
||||
|
||||
|
||||
const Element2d & el = mesh[elnr];
|
||||
ELEMENT_TYPE type = el.GetType();
|
||||
@ -3333,7 +3333,16 @@ namespace netgen
|
||||
|
||||
// THESE LAST LINES ARE COPIED FROM CurvedElements::CalcSurfaceTransformation
|
||||
|
||||
ArrayMem<Vec<DIM_SPACE>,100> coefs(info.ndof);
|
||||
GetCoefficients (info, coefs);
|
||||
|
||||
ArrayMem<double, 100> shapes_mem(info.ndof);
|
||||
Vector shapes(info.ndof, &shapes_mem[0]);
|
||||
|
||||
// ArrayMem<double, 100> dshapes_mem(info.ndof*2);
|
||||
MatrixFixWidth<2> dshapes; // (info.ndof,&shapes_mem[0]);
|
||||
|
||||
|
||||
|
||||
if (x)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user