Eötvös Quantum Utilities  v4.9.146
Providing the Horsepowers in the Quantum Realm
Functions
read_hsx.cpp File Reference

opens the binary HSX output of SIESTA and reads all the data More...

#include "mex.h"
#include <unistd.h>
#include <string.h>
#include "EQuUs_MATLAB.h"
Include dependency graph for read_hsx.cpp:

Go to the source code of this file.

Functions

void __hsx_equus_MOD_read_hsx (char *fname, long *fname_len, EQstruct *eq_struct)
 ====================================================================== Gateway routine to read in the hsx structure generated by the SIESTA package. More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Gateway routine to read in the hsx structure generated by the SIESTA package (see http://www.mathworks.com/help/matlab/matlab_external/standalone-example.html#zmw57dd0e18558). More...
 

Detailed Description

opens the binary HSX output of SIESTA and reads all the data

Definition in file read_hsx.cpp.

Function Documentation

◆ __hsx_equus_MOD_read_hsx()

void __hsx_equus_MOD_read_hsx ( char *  fname,
long *  fname_len,
EQstruct eq_struct 
)

====================================================================== Gateway routine to read in the hsx structure generated by the SIESTA package.

Copyright (C) 2016 Peter Rakyta, Ph.D.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.


Here is the caller graph for this function:

◆ mexFunction()

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

Gateway routine to read in the hsx structure generated by the SIESTA package (see http://www.mathworks.com/help/matlab/matlab_external/standalone-example.html#zmw57dd0e18558).

Parameters
nlhsNumber of output (left-side) arguments, or the size of the plhs array.
plhsArray of output arguments.
nrhsNumber of input (right-side) arguments, or the size of the prhs array.
prhsArray of input arguments.

Definition at line 51 of file read_hsx.cpp.

Here is the call graph for this function: