DCOEF(3)

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

NAME
dcoef - Subsidiary to DBVSUP

LIBRARY
SLATEC

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

AUTHOR
Watts, H. A., (SNLA)

DESCRIPTION
********************************************************************** INPUT to DCOEF ********************************************************************** 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*16 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 = double precision 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 DCOEF ********************************************************************** COEF = array containing superposition constants. IFLAG = indicator of success from DSUDS 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 DCOEF 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
DBVSUP

ROUTINES CALLED
DDOT, DSUDS, XGETF, XSETF

COMMON BLOCKS
DML5MC

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)
890921 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
900328 Added TYPE section. (WRB)
910722 Updated AUTHOR section. (ALS)