01-16-2013
Yes, vect2 is a class I created. It is a template so can handle various types. It has some functions for cartesian vector computations.
I have discussed this with another person who said the same thing. Thus I am planning to recode this part of the program. I would need suggestions on how to go about a solution.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
I am new to AWK and unix scripting. Please see below my problem and let me know if anyone you can help.
I have 2 input files (example given below)
Input file 2 is a standard file (it will not change) and we have to get the name (second column after comma) from it and append it... (5 Replies)
Discussion started by: sksahu
5 Replies
2. Shell Programming and Scripting
Hi All,
Can we pass arguments while calling the perl script and as well as ask user input during execution of the script?
My program is as below:
I am passing arg1 and arg2 as argements to test.pl
]./test.pl arg1 arg2
Inside the test.pl I have :
print "Do you want a name ? (y/n) : ";... (2 Replies)
Discussion started by: jisha
2 Replies
3. Shell Programming and Scripting
Hello,
is it possible to give grep two documents to surche for? like
grep "test" /home/one.txt AND /home/two.txt ?
thanks (1 Reply)
Discussion started by: Cybertron
1 Replies
4. Shell Programming and Scripting
Hello,
I'm trying to figure out how best to approach this script, and I have very little experience, so I could use all the help I can get. :wall:
I regularly need to delete files from many directories.
A file with the same name may exist any number of times in different subdirectories.... (3 Replies)
Discussion started by: *ShadowCat*
3 Replies
5. Shell Programming and Scripting
HI
i have written a script to ask input from the user.
this script should promote the user for y/n input. if user enters anyother input then y/n
the script promotes him again. this below code is working fine for all the cases.
except for space and enter " if i give space and enter it is... (2 Replies)
Discussion started by: BHASKARREDDY006
2 Replies
6. Shell Programming and Scripting
Hi,
I need to get input arguments, as well as validate them. This is how I'm reading them:
#!/bin/bash
args="$@" # save arguments to variable
## Read input arguments, if so
while ; do
case $1 in
-v | --verbose ) verbose=true;;
-z | --gzip ) compression="gz";;
... (3 Replies)
Discussion started by: AlbertGM
3 Replies
7. Shell Programming and Scripting
Dear Friends,
I am looking for a shell script to merge input files into one file .. here is my idea:
1st paramter would be outfile file (all input files content)
read all input files and merge them to input param 1
ex: if I pass 6 file names to the script then 1st file name as output file... (4 Replies)
Discussion started by: hyd1234
4 Replies
8. Homework & Coursework Questions
Just started learning Unix and received my first assignment recently. We haven't learned many commands and honestly, I'm stumped. I'd like to receive assistance/guidance/hints.
1. The problem statement, all variables and given/known data:
How do I write a shell script that takes in a file or... (4 Replies)
Discussion started by: fozilla
4 Replies
9. Shell Programming and Scripting
Hi,
I am using awk here.
Inside an awk script, I have a variable which contains a very long XML data in string format (500kb).
I want to pass this data (as argument) to curl command using system function.
But getting Too many arguments error due to length of string data(payloadBlock).
I... (4 Replies)
Discussion started by: cool.aquarian
4 Replies
10. Shell Programming and Scripting
This script is running some exe file we are passing three argumnet below custome key word
Want to update script based on input files every time it will take argument from input file
below is the input files should take this input put it into the script.
k.ksh
cd /u/kali/temp
... (8 Replies)
Discussion started by: Kalia
8 Replies
dboc(1) dboc(1)
NAME
dboc - Diagonal Born-Oppenheimer Correction using HF and CI wave functions.
DESCRIPTION
The program dboc computes Diagonal Born-Oppenheimer Correction (DBOC) using HF and CI wave functions.
REFERENCES
"Cartesian" DBOC formula (aka Born-Handy-Pulay formula):
1. N. C. Handy, J. Yamaguchi, and H. F. Schaefer, J. Chem. Phys. 84, 4481 (1986).
Justification for the "Cartesian" DBOC formula:
1. W. Kutzelnigg, Mol. Phys. 90, 909 (1997).
Finite-difference formulation of DBOC at CI level
1. E. F. Valeev and C. D. Sherrill, J. Chem. Phys. 118, 3921 (2003).
INPUT FORMAT
The following keywords are valid:
WFN = string
Specifies the type of wave function desired. The only valid entries at the present are SCF and DETCI. There is no default.
REFERENCE = string
Specifies the type of orbitals used for the single-determinant reference function. Valid choices are RHF, ROHF, and UHF. There is
no default.
PRINT = integer
Determines the verbosity of the output. A value of 0 (the default) specifies minimal printing.
:DBOC:DISPLACEMENT = real
Determines the finite difference step (in a.u.). The default is 0.0005 a.u.
:DBOC:DISP_PER_COORD = integer
Determines the number of displacements for each coordinate. Set it to 2 to compute DBOC with standard accuracy (enough significant
digits for up to second derivatives; DBOC accurate to square of displacement size), and 4 to compute DBOC with improved accuracy
(DBOC accurate to the fourth power of displacement size). The default is 2.
ISOTOPES = string_vector
Specifies which isotope to use for each atom. Each string should specify an isotope label as defined in include/masses.h. By
default, most abundant isotopes are used for each element.
:DBOC:COORDS = vector
This keyword should only be used by advanced users who are familiar with how DBOC is evaluated by finite differences. The keyword
may be used to specify the cartesian nuclear coordinates to use in the sum expression for DBOC, their respective coefficients, and
whether they are symmetric or nonsymmetric with respect displacements. dboc can use symmetry to minimize the number of wave func-
tion computations. Hence this keyword need only be used for diagnostic purposes or when displacements along different coordinates
need to be run separately (e.g. require different occupation vectors). The value for this keyword is an array of 3 element vec-
tors. The first element of each vector is the index of the cartesian coordinate which to include into the sum. The second element is
a real coefficient for the respective term in the DBOC expression. The third element is a string that can take two values, symm and
nonsymm, which indicate that the coordinate is symmetric or nonsymmetric with respect to displacements, respectively. Indices are
C-style, i.e. from 0 to 3*natom-1.
30 August, 2003 dboc(1)