SCOEF(3)

SYNOPSIS
SUBROUTINE SCOEF (YH, YP, NCOMP, NROWB, NFC, NIC, B, BETA, COEF, + INHOMO, RE, AE, BY, CVEC, WORK, IWORK, IFLAG, NFCC)

NAME
scoef - Subsidiary to BVSUP

LIBRARY
SLATEC

TYPE
SINGLE PRECISION (SCOEF-S, DCOEF-D)

AUTHOR
Watts, H. A., (SNLA)

DESCRIPTION
********************************************************************** INPUT TO SCOEF ********************************************************************** YH = Matrix of homogeneous solutions. YP = Vector containing particular solution. NCOMP = Number of components per solution vector. NROWB = First dimension of B in calling program. NFC = Number of base solution vectors. NFCC = 2*NFC for the special treatment of complex valued equations. Otherwise, NFCC=NFC. NIC = Number of specified initial conditions. B = Boundary condition matrix at X = Xfinal. BETA = Vector of nonhomogeneous boundary conditions at X = Xfinal. 1 - Nonzero particular solution INHOMO = 2 - Zero particular solution 3 - Eigenvalue problem RE = Relative error tolerance AE = Absolute error tolerance BY = Storage space for the matrix B*YH CVEC = Storage space for the vector BETA-B*YP WORK = Real array of internal storage. Dimension must be .GE. NFCC*(NFCC+4) IWORK = Integer array of internal storage. Dimension must be .GE. 3+NFCC ********************************************************************** OUTPUT FROM SCOEF ********************************************************************** COEF = Array containing superposition constants. IFLAG = Indicator of success from SUDS in solving the boundary equations = 0 Boundary equations are solved = 1 Boundary equations appear to have many solutions = 2 Boundary equations appear to be inconsistent = 3 For this value of an eigenparameter, the boundary equations have only the zero solution. ********************************************************************** Subroutine SCOEF solves for the superposition constants from the linear equations defined by the boundary conditions at X = Xfinal. B*YP + B*YH*COEF = BETA **********************************************************************

SEE ALSO
BVSUP

ROUTINES CALLED
SDOT, SUDS, XGETF, XSETF

COMMON BLOCKS
ML5MCO

REVISION HISTORY (YYMMDD)
750601 DATE WRITTEN
890531 Changed all specific intrinsics to generic. (WRB)
890831 Modified array declarations. (WRB)
890921 Realigned order of variables in certain COMMON blocks. (WRB)
891214 Prologue converted to Version 4.0 format. (BAB)
900328 Added TYPE section. (WRB)
910722 Updated AUTHOR section. (ALS)