saddpoint Class Reference

#include <saddpoint.h>

List of all members.

Public Member Functions

void get_jumps (long nc, double *jumps)
void initiate (seqselnodes *selnodfeti, gtopology *top, FILE *out)
void matrix_e ()
void read (XFILE *in)
 saddpoint ()
void solve_system (gtopology *top, gmatrix *gm, double *lhs, double *rhs, FILE *out)
 ~saddpoint ()

Public Attributes

double * c
long ** ccn
long ** cndom
densematdm
 dense matrix for the final system of equations
double * e
 matrix E
long ** edofs
long n
long * ncdofd
long ndofcp
 number of DOFs (unknowns) in coarse problem
long * ndofdom
long nidof
 number of internal DOFs
long nm
 number of dual unknowns (number of Lagrange multipliers)
long nrdof
 number of reduced/boundary/interface DOFs
long ns
 number of subdomains
long * nsid

Detailed Description

class deals with saddle point problems

JK, 28.11.2007

Definition at line 13 of file saddpoint.h.


Constructor & Destructor Documentation

saddpoint (  ) 

Definition at line 3 of file saddpoint.cpp.

References c, dm, nm, and nrdof.

~saddpoint (  ) 

Definition at line 16 of file saddpoint.cpp.

References c, and dm.


Member Function Documentation

void get_jumps ( long  nc,
double *  jumps 
)

Definition at line 190 of file saddpoint.cpp.

References c.

void initiate ( seqselnodes selnodfeti,
gtopology top,
FILE *  out 
)
void matrix_e (  ) 

Definition at line 184 of file saddpoint.cpp.

void read ( XFILE in  ) 
void solve_system ( gtopology top,
gmatrix gm,
double *  lhs,
double *  rhs,
FILE *  out 
)

function solves system of equations

Parameters:
top - general topology
gm - general matrix
lhs - array of solution
rhs - vector of the right hand side
out - output file

JK, 28.11.2007

Definition at line 216 of file saddpoint.cpp.

References densemat::a, densemat::alloc(), c, gmatrix::condense(), condmat(), densemat::dealloc(), dm, densemat::gemp(), limit, n, gtopology::nbdof, gtopology::nidof, nidof, nm, and nrdof.


Member Data Documentation

double* c

Definition at line 41 of file saddpoint.h.

Referenced by get_jumps(), saddpoint(), solve_system(), and ~saddpoint().

long** ccn

array of coarse code numbers it contains tnbn rows and ncdofd[i] columns ccn[i][j]=k - the j-th contribution from the i-th subdomain goes to the k-th coarse unknown

Definition at line 60 of file saddpoint.h.

Referenced by initiate().

long** cndom

list of DOFs on subdomains cndom[i][j]=k - the j-th DOF on the i-th subdomain has number k

Definition at line 73 of file saddpoint.h.

Referenced by initiate().

dense matrix for the final system of equations

Definition at line 39 of file saddpoint.h.

Referenced by saddpoint(), solve_system(), and ~saddpoint().

double* e

matrix E

Definition at line 77 of file saddpoint.h.

long** edofs

array containing code numbers contributing to the coarse problem extracted values from subdomains to the coarse problem edofs[i][j]=k - the j-th components contributing to the coarse problem from the i-th subdomains has number k

Definition at line 55 of file saddpoint.h.

Referenced by initiate().

long n

Definition at line 29 of file saddpoint.h.

Referenced by solve_system().

long* ncdofd

array of numbers of unknowns (DOFs) contributing to the coarse problem ncdofd contains nproc components ncdofd[i]=j - the i-th subdomains contributes to coarse problem by j contributions

Definition at line 50 of file saddpoint.h.

Referenced by initiate().

long ndofcp

number of DOFs (unknowns) in coarse problem

Definition at line 45 of file saddpoint.h.

long* ndofdom

numbers of DOFs on subdomains ndofdom[i]=j - the i-th subdomain contains j DOFs

Definition at line 69 of file saddpoint.h.

Referenced by initiate().

long nidof

number of internal DOFs

Definition at line 36 of file saddpoint.h.

Referenced by solve_system().

long nm

number of dual unknowns (number of Lagrange multipliers)

Definition at line 32 of file saddpoint.h.

Referenced by saddpoint(), and solve_system().

long nrdof

number of reduced/boundary/interface DOFs

Definition at line 34 of file saddpoint.h.

Referenced by saddpoint(), and solve_system().

long ns

number of subdomains

Definition at line 27 of file saddpoint.h.

Referenced by initiate().

long* nsid

node-subdomain correspondence nsid[i]=j - the i-th node belongs to the j-th subdomain

Definition at line 64 of file saddpoint.h.

Referenced by initiate().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2