<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Can the function DMDATSSetIFunctionLocal be used with a global DM which has been constructed from many DMs' combined into a DMComposite? I put a single DM for each one of the variables that I wanted to solve for and combined them in a single one with DMComposite, but the timestepping seg faults with the following error<br>
<br>0x00007ffff69d3786 in VecScatterBegin_SGToSG (ctx=0x924400, x=0x90b640, y=0x920340, addv=INSERT_VALUES, mode=SCATTER_FORWARD) at /home/mc/Downloads/petsc/src/vec/vec/utils/vscat.c:370<br>370 for (i=0; i<n; i++) yv[tslots[i]] = xv[fslots[i]];<br>
<br></div>Would the only way to use a DMComposite with TS be using TSSetIFunction and then scatters the DMComposite to individual DMs' inside the function?<br><br></div>Thanks,<br></div>Mani<br></div>