Skip to content

Error catch when matIB2d goes unstable with new spreading operator #33

@nickabattista

Description

@nickabattista

An error check ('try statement') should be incorporated when trying to form the spread operator but the code has already gone unstable due to large force deformations.

An error message such as the following is produced when such an event occurs:

Index exceeds array bounds.
Error in give_Spreading_Operator (line 105)
rX=abs(indsX(nn)-xAux);

Error in please_Find_Lagrangian_Forces_On_Eulerian_grid_VALENTINE (line 396)
S = give_Spreading_Operator(xLag,yLag,dx,dy,Nb,Nx,Ny);

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