.. _imat:

imat
====

.. todo::  This command has not yet been ported to the *new APBS syntax* (see :ref:`new_input_format`).

This keyword can be used to load in the surface integral matrices previously generated by PB-SAM named as :file:`mol{m}sph{s}.bin` for molecule ID *s* and coarse-grained sphere *s* (see :ref:`pbamauto` for more information).
The syntax is:

.. code-block:: bash
   
   imat {prefix}

where ``prefix`` is the filename prefix :file:`mol{m}sph`.
The :file:`{s}.bin` will be appended during the program run.

.. todo::

   It would be better to generalize the :ref:`read_old_input` section of the input file rather than use the ``imat`` command.
   This command also needs to be cleaned up -- it's too fragile.
   Documented in https://github.com/Electrostatics/apbs/issues/495