FLAC3D_Connection

class itasca.util.FLAC3D_Connection

Launch and connect to FLAC3D.

connect() None.

Connect to Itasca software, read fishcode to confirm connection. Call this function to establish the socket connection after calling the start method to launch the code.

end() None.

Close the socket connection.

receive() any.

Read an item from the Itasca code.

send(data: any) None.

Send an item to the Itasca code.

shutdown() None.

Shutdown running softwarecode.

start(datafile_name: str) None.

Launch Itasca software in a separate process, open the specified data file. The green execute button must be pressed in the Itasca software to start the calculation.