NAME

paratec::input - paratec input file

Implements the input file of paratec, allowing for both reading and writing.


DESCRIPTION

Creates an object associated with an input file, which can be used to conveniently read and write the properties of the paratec input file.


Introduction

paratec::input is actually very easy to use. Say you just want to set the volume of an input file to be equal to the volume of an OUT file. The following code does what you want:

    use paratec::input;
use paratec::OUT;

$in = new paratec::input;
$out = new paratec::OUT;
$in->volume($out->volume);

The first two lines simply tell perl that you want to use these two modules. The second two lines tell perl to create objects named $in and $out associated with the input and OUT files. The third line tells it to read the volume from the OUT file, and write that volume to the input file. If you wanted, you could do arithmetic on the volume between these two steps.


SYNOPSIS


SEE ALSO

paratec::OUT, paratec::PW_LOG, paratec::vector, paratec::tensor.


VERSION

This man page documents paratec::input version 0.1.


AUTHOR

David Roundy <droundy@physics.berkeley.edu>.


CREDITS

Thanks to Gilles Santi, for giving me the idea of writing this.


COPYRIGHT

Copyright (c) 2000, David Roundy. All rights reserved.


LICENSE AGREEMENT

    This package is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.