Civil Engineering Reference
In-Depth Information
Exercise 2.2.
Write a
REAL FUNCTION DETERMINANT
(A) which computes the determinant of
the matrix
A
which can be of shape (2,2) or (3,3).
Exercise 2.3.
Given is a sub-matrix
A
of shape (2,2) and a matrix
B
whose shape is declared in the
calling program. Write a
SUBROUTINE ASSEMBLE
(A,B,I,J) which assembles the
sub-matrix
A
into the matrix
B
at location i,j (see Figure below)
i
"
"
"
"
ª
º
«
»
j
"
A
A
«
»
11
12
«
»
«
»
"
A
A
21
22
«
»
«
»
"
¬
¼
2.9
REFERENCES
1. Smith I.M. (1995), Programming in FORTRAN90, J.Wiley.
2. Smith I. M. and Griffiths D. V., (2004) Programming the Finite Element Method, 4
th
ed, J.Wiley.
3. ParaFEM Web Reference (2004),
http://www.parafem.org.uk
.
4. Message Passing Interface Forum (1994) MPI: A message Passing Interface
Standard,
International Journal of Supercomputer Applications
8
:3-4.
5. Sterling, T.L., Salmon, J., Becker, D.J. and Savarese, D.F. (1999) How to Build a
Beowulf, The MIT Press.
6. MPICH Web Reference (2007),
http://www-unix.mcs.anl.gov/mpi/mpich/
7. LAM MPI Web Reference (2007),
http://www.lam-mpi.org/
8. Dongarra, J.J. and Walker, D.W. (1995) Software Libraries for Linear Algebra
Computations on High Performance Computers,SIAM Rev.
37
(2):151-180
9. Interactive Software Services (1999), INTERACTER Subroutine Reference.
10. GID web reference:
http://gid.cimne.upc.es
11. Digital Equipment Corp. (1997) Digital FORTRAN Language Reference Manual
Search WWH ::
Custom Search