Hyma Yalamanchili | 6 Jan 16:25 2009

Help using h5fromtxt


I need some help in inputting a large data set and creating a structure
from that data and then simulating it.

Is it possible to create structures  in this method?

This is a triangular lattice structure.

I have some data in the form of a 410 X 3 array .This is in a text file
format.I want to convert this txt file in to h5 and then  calculate
bandgap from it.I tried to convert to h5 format but couldn't succeed
.Can anybody help me in doing this..

The text file is attached .

Hyma Yalamanchili
Attachment (nlist): application/octet-stream, 8 KiB
mpb-discuss mailing list
mpb-discuss <at> ab-initio.mit.edu
Noe Gonzalez Baquedane | 7 Jan 19:16 2009

about the effective area.

hi, mpb users i still cant calculate the effective area of the fundamental
mode in photonic crystal fibers, i run my ctl file whit the steven's
rutine for that purpose but the program sends me some errors, I NEED YOUR
 I send you my ctlfile. BY the way the message error are:

ERROR: In procedure lambda:
ERROR: bad formals

thanks to chad and steven for the previous help. i hope someone can help me.

PD: happy new year.
Attachment (aefectiva25.ctl): application/octet-stream, 2776 bytes
mpb-discuss mailing list
mpb-discuss <at> ab-initio.mit.edu
Ziran Wu | 7 Jan 19:43 2009

[MPB-Discuss] How to identify the fundamental mode of photonic crystal fiber


I am trying to optimize a photonic crystal fiber design with MPB --- 
Basically the fiber is the common triangular-lattice air holes on 
dielectric, with large center air core as wave tunnel. Can anybody give 
some advice on how to find a good fundamental mode of the fiber? Right now 
what I do is to sweep k_z and calculate bands around the band-gap 
frequency, then calculate the energy portion within the center air core 
for each band above the light line(so that is propagating mode), and then 
pick up the best one with the largest energy ratio in the core. However, 
it is very tedious. Wondering if there is a better way to locate the 
fundamental mode in MPB?

Thanks a ton!


Ziran Wu
Millimeter Wave Circuits and Antennas Laboratory
Department of Electrical and Computer Engineering
University of Arizona

Ian D. Hosein | 16 Jan 21:33 2009

Selecting all the relevant k-points

Hello MPB Users and Steven,

    I'm currently trying to calculate the photonic band structure of a 
monoclinic lattice. Unlike FCC, the BZ shape can change a lot depending on 
the lattice constants and there are less equivalent points.  I've been able 
to determine all the critical points on the BZ as shown in the picture link 
    I'm trying now to determine the k-points I would have to interpolate. 
For example, I know I would have the interpolate points betwen A to B and B 
to C, or G to J or S to M. However, would I also need to interpolate 
between, say, E and G or D and K (i..e diagonal across faces and the like)?
    I'm trying to look for general principles to choose all the points 
necessary (minimizing redundancies and unneccessary points) for which to do 
calcuations to create my band structure.

Any help would be much appreciated!


Peter Duane | 28 Jan 21:41 2009

MPB - installation problem w/HDF5


MPB installation trouble.....

having some trouble getting the HDF5 lib "found" by ./configure

the output of my config.log file:

configure:7009: checking for H5Pcreate in -lhdf5
configure:7046: cc -o conftest -g -O2 -Wall -W -Wbad-function-cast 
-Wcast-qual -Wpointer-arith -Wcast-align -pedantic
    conftest.c -lhdf5  -lz -llapack -lblas -lfftw -lm 
-L/usr/lib/gcc/i386-redhat-linux/3.4.6 -L/usr/lib/gcc/i386-red
hat-linux/3.4.6/../../.. -lfrtbegin -lg2c -lm -lgcc_s >&5
/usr/local/lib/libhdf5.a(H5Pdcpl.o): In function `H5Pset_szip':
H5Pdcpl.c:(.text+0x1e81): undefined reference to `SZ_encoder_enabled'
/usr/local/lib/libhdf5.a(H5Z.o): In function `H5Zget_filter_info':
H5Z.c:(.text+0x1c3e): undefined reference to `SZ_encoder_enabled'
/usr/local/lib/libhdf5.a(H5Zszip.o): In function `H5Z_can_apply_szip':
H5Zszip.c:(.text+0xf): undefined reference to `SZ_encoder_enabled'
/usr/local/lib/libhdf5.a(H5Zszip.o): In function `H5Z_filter_szip':
H5Zszip.c:(.text+0x636): undefined reference to `SZ_BufftoBuffDecompress'
H5Zszip.c:(.text+0x727): undefined reference to `SZ_BufftoBuffCompress'
collect2: ld returned 1 exit status
configure:7049: $? = 1
configure: failed program was:
| #line 7016 "configure"
| /* confdefs.h.  */

thanks for any ideas
(Continue reading)

Ian D. Hosein | 29 Jan 16:30 2009

Filling Fraction Output


    Is the fill fraction percent available in a variable for access & 
output? I'd like to make my control file produce a table of gaps and 
corresponding fill fractions. I know I could grep the "fill" line that''s 
output with each line, but then I'd have the make two separate lists. It 
would be nice if they could go together.

- Ian