Search This Blog

Sunday, November 11, 2007

Double Spacing in LaTex

To doublespace a LaTeX document, you should include the line

\usepackage{setspace}

after your \documentclass line.

Before your \begin{document} command,

\doublespacing

will make the text of the whole document doublespaced.  Footnotes,
figures, and tables will still be singlespaced, however. For one-and-a-half
spacing, instead use the command

\onehalfspacing

In order to make a part of the text of your document singlespaced, you can
put:

\begin{singlespace}

at the beginning of the text you want singlespaced, and

\end{singlespace}

at the end.

You can also set the spacing to be something other than doublespaced; for
example, if you wanted to have one-and-a-quarter spacing between lines,
use the line

\setstretch{1.25}

before your \begin{document} command, and after the
\usepackage{setspace} line.

Source

Monday, November 5, 2007

Positions Available

Two PhD candidates interested in computational modeling are sought to assist with research supported by an NSF CAREER project. Competitive stipends and tuition waivers will be provided. The primary responsibility of the students is to modify, develop, and perform statistical mechanical simulations of (bias) Monte Carlo, molecular dynamics, Brownian dynamics, and especially Stokesian dynamics to investigate transport, aggregation, deposition, and filtration of nano- and bio-colloids in aqueous systems. A strong background in one or more of the following is highly desirable: Environmental and/or Chemical Engineering, Fluid Mechanics, Bioinformatics, Computational Chemistry, Applied Mathematics, Theoretical Physics, and/or Distributed Parallel Computing. Students with general engineering or science backgrounds are also welcome to participate in this inter-disciplinary project. Interested applicants should send a resume along with a brief statement of research interests to Prof. Albert S. Kim at albertsk@hawaii.edu. (Tel: 808-956-3718)

web site http://pam.eng.hawaii.edu
Download this announcement (PDF and Word)

Friday, November 2, 2007

Scholarship offered to Todd Kawamoto

Todd Kawamoto, an 2005 high school intern student in our group, was recently offered the AFCEA Jane Kramer scholarship for four years.

Congratulations!

A first-year PhD student, Nam Vu, passed his Qualifying Exam in Nov. 1, 2007.


Steven, Nam, Yuewei, Albert, Rentaro.
(in the middle of 2007 High School Summer Intern Program)

Monte Carlo Simulation of Crossflow Filtration


Yuewei Liu’s Monte Carlo simulations appear as a featured article of the High Performance Computing at UH (http://www.hawaii.edu/hpc/).
A supplementary video is as follows simulating distribution of particles in the crossflow (x-direction) membrane channel.


Awards Ceremony and Reception, Sep. 27, 2007

recognizing Albert's Regents' Medal for Excellence in Research, 2006.


Albert, Dean Crouch (walking to the right), and Chairperson Riggs.



Dean Crouch mentions about me ......




Clark, Albert, and Gurdal

Friday, October 5, 2007

MPI-Broadcating a new data type

!**********************************************************************
!****************************************************************************
program main

use mpi


TYPE particle ! Defining the DATA TYPE of "particle"
REAL, DIMENSION(3) :: Coord
REAL :: Radius
REAL :: ZetaPt
END TYPE particle

type(particle) :: colloid1

integer n, myid, numprocs , rc

integer, dimension(1) :: t, b, d

call MPI_INIT( ierr )
call MPI_COMM_RANK( MPI_COMM_WORLD, myid, ierr )
call MPI_COMM_SIZE( MPI_COMM_WORLD, numprocs, ierr )

print *, 'Process ', myid, ' of ', numprocs, ' is alive'

colloid1%Coord = 0
colloid1%Radius = 0.0
colloid1%ZetaPt = 0.0


if ( myid .eq. 0 ) then
n = 100000
colloid1%Coord(1) = 10.0
colloid1%Coord(2) = 20.0
colloid1%Coord(3) = 30.0
colloid1%Radius = 1.0
colloid1%ZetaPt = 0.0
endif

call MPI_BCAST(n,1,MPI_INTEGER,0,MPI_COMM_WORLD,ierr)

if ( myid .gt. -1 ) then
print *, ' n of process ', myid, ' is ', n
endif

t(1) = MPI_REAL
b(1) = 13
d(1) = 0

call MPI_TYPE_STRUCT (1,b,d,t,MPI_PARTICLE, ierr)
call MPI_TYPE_COMMIT (MPI_PARTICLE, ierr)

call MPI_BCAST(colloid1,1,MPI_PARTICLE,0,MPI_COMM_WORLD,ierr)

if ( myid .gt. -1 ) then
print *, myid, colloid1
endif


call MPI_FINALIZE(rc)
stop
end

Labels