Skip to content

crash within mex_SQ_slp_velocity_grad.cpp  #1

@A-DCA

Description

@A-DCA

Hi,

I am interested in your code and I am playing with it to see whether I may use it for my research.

I compiled C codes Mingw6.3 for Matlab2023b and then run demo_periodic_pouseille_flow.m .
I seemd to work fine till evaluate_velocity_gradient(solution, X, Y), within which it crashed at mex_SQ_slp_velocity_grad(...).

In that C code, it worked fine but the crash seems to be inside the loop after line 183 within if(!accuracy) { ...}. That crash occurred after 14th iteration based on mexPrintf display. It can be repeated. When I set 'accuracy' to true, the program finished successfully.

What is likely the cause to this crash? Any help is highly appreciated.

Kind regards, Jingsheng Ma, Heriot-Watt University

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions