Matrix operations 2

Andrey andrey.l... at gmail.com
Fri Feb 4 16:26:52 UTC 2011


Dear Urban,

Where can I find the interface if dbcsr_printmat routine (and other
routines)?
For example if I have an array full_ks, which type is REAL(dp),
DIMENSION(:), POINTER
What parameters should I specify for dbcsr_printmat(..?..) routine?

Thanks in advance,
Cheers,
Andrey


On Feb 3, 3:00 pm, Urban Borštnik <urban.b... at gmail.com> wrote:
> > Are there any routines  that allow to print simple types arrays like
> > REAL(dp), DIMENSION(:), POINTER
> > The cp_dbcsr_print was designed for structures having cp_dbcsr_p_type.
>
> You can use some low-level utility routines (which are used by the
> cp_dbcsr_print subroutines) in the dbcsr_io module.  The subroutines to
> do a simple number-dump of a 1-D or 2-D array with specified dimensions
> are made public through the dbcsr_printmat interface:
>         USE dbcsr_io, ONLY: dbcsr_printmat
> There are also ones that dump the array in the matlab format.  They are
> not made public but you can change that for debugging...
>
> Cheers,
> Urban


More information about the CP2K-user mailing list