#include <saddpoint.h>
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 |
| densemat * | dm |
| 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 |
class deals with saddle point problems
JK, 28.11.2007
Definition at line 13 of file saddpoint.h.
| ~saddpoint | ( | ) |
Definition at line 16 of file saddpoint.cpp.
| 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 | |||
| ) |
Definition at line 25 of file saddpoint.cpp.
References ccn, cndom, edofs, gtopology::give_dof(), gtopology::give_ndofn(), ncdofd, ndofdom, gtopology::nn, seqtop::nnsd, ns, nsid, and gtopology::stop.
| void matrix_e | ( | ) |
Definition at line 184 of file saddpoint.cpp.
| void read | ( | XFILE * | in | ) |
function solves system of equations
| 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.
| 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 |
| 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 |
| 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().
1.6.2