Eötvös Quantum Utilities  v4.9.146
Providing the Horsepowers in the Quantum Realm
Macros | Functions | Variables
read_SiestaXML.cpp File Reference

Using FoX parses an XML. More...

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

Go to the source code of this file.

Macros

#define MAX_PROP_LENGTH   100
 ====================================================================== Gateway routine to read in the CMLComp XML document generated by the SIESTA package. More...
 

Functions

void __fox_sax_equus_MOD_deallocatetargetnodes ()
 
void __fox_sax_equus_MOD_get_eq_structure (EQstruct *eq_struct, int *idx)
 
void __fox_sax_equus_MOD_read_xml (char *fnamget_eq_structurese, long *fname_len, char **property_names, int *numodProperties)
 
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...
 
void XMLnode2MatlabStruct (EQstruct *eq_struct, mxArray *Mstruct)
 Routine to turn nested EQstruct structure prototypes into MATLAB structure. More...
 

Variables

int __fox_sax_equus_MOD_numtargetnodes
 

Detailed Description

Using FoX parses an XML.

Definition in file read_SiestaXML.cpp.

Macro Definition Documentation

◆ MAX_PROP_LENGTH

#define MAX_PROP_LENGTH   100

====================================================================== Gateway routine to read in the CMLComp XML document 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/.


Definition at line 25 of file read_SiestaXML.cpp.

Function Documentation

◆ __fox_sax_equus_MOD_deallocatetargetnodes()

void __fox_sax_equus_MOD_deallocatetargetnodes ( )
Here is the caller graph for this function:

◆ __fox_sax_equus_MOD_get_eq_structure()

void __fox_sax_equus_MOD_get_eq_structure ( EQstruct eq_struct,
int *  idx 
)
Here is the caller graph for this function:

◆ __fox_sax_equus_MOD_read_xml()

void __fox_sax_equus_MOD_read_xml ( char *  fnamget_eq_structurese,
long *  fname_len,
char **  property_names,
int *  numodProperties 
)

◆ 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 65 of file read_SiestaXML.cpp.

Here is the call graph for this function:

◆ XMLnode2MatlabStruct()

void XMLnode2MatlabStruct ( EQstruct eq_struct,
mxArray *  Mstruct 
)

Routine to turn nested EQstruct structure prototypes into MATLAB structure.

Parameters
eq_structA pointer to an EQstruct structure prototype.
MstructA pointer to a MATLAB structure.

Definition at line 196 of file read_SiestaXML.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __fox_sax_equus_MOD_numtargetnodes

int __fox_sax_equus_MOD_numtargetnodes

Definition at line 42 of file read_SiestaXML.cpp.