Loading cpp_src/FE/NativeIntegration.h +2 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ struct LocalSpace { } } void SetvalNI(const int& integrationPoint, CBasicFloatType* pd) { delete this->valN[integrationPoint]; this->valN[integrationPoint] = new MapMatrixDDD(pd, this->numberOfShapeFunctions, 1); } void RelseaseData() { Loading @@ -63,6 +64,7 @@ struct LocalSpace { } ~LocalSpace() { this->RelseaseData(); } void SetvaldphidxiI(const int& integrationPoint, CBasicFloatType* pd) { delete this->valdphidxi[integrationPoint]; this->valdphidxi[integrationPoint] = new MapMatrixDDD(pd, this->dimensionality, this->numberOfShapeFunctions); } Loading setup.py +3 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,9 @@ extra_link_args = { if debug: extra_compile_args["unix"].extend([ "-g3", "-O0", "-DDEBUG=1", "-UNDEBUG", "-gdwarf-4", "-gstrict-dwarf"]) extra_compile_args["msvc"].extend([ "/Z7","/DEBUG"]) extra_link_args["msvc"].extend(["/DEBUG"]) class GenerateCommand(Command): description = "custom generate command that generate the c++ sources from python " Loading Loading
cpp_src/FE/NativeIntegration.h +2 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ struct LocalSpace { } } void SetvalNI(const int& integrationPoint, CBasicFloatType* pd) { delete this->valN[integrationPoint]; this->valN[integrationPoint] = new MapMatrixDDD(pd, this->numberOfShapeFunctions, 1); } void RelseaseData() { Loading @@ -63,6 +64,7 @@ struct LocalSpace { } ~LocalSpace() { this->RelseaseData(); } void SetvaldphidxiI(const int& integrationPoint, CBasicFloatType* pd) { delete this->valdphidxi[integrationPoint]; this->valdphidxi[integrationPoint] = new MapMatrixDDD(pd, this->dimensionality, this->numberOfShapeFunctions); } Loading
setup.py +3 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,9 @@ extra_link_args = { if debug: extra_compile_args["unix"].extend([ "-g3", "-O0", "-DDEBUG=1", "-UNDEBUG", "-gdwarf-4", "-gstrict-dwarf"]) extra_compile_args["msvc"].extend([ "/Z7","/DEBUG"]) extra_link_args["msvc"].extend(["/DEBUG"]) class GenerateCommand(Command): description = "custom generate command that generate the c++ sources from python " Loading