Flow123d  jenkins-Flow123d-windows-release-multijob-285
Classes | Typedefs | Enumerations
schur.hh File Reference

Assembly explicit Schur complement for the given linear system. Provides method for resolution of the full original vector of unknowns. More...

#include <la/distribution.hh>
#include "la/linsys_PETSC.hh"
#include <petscmat.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SchurComplement
 

Typedefs

typedef enum SchurState SchurState
 Schur complement class for a PETSC based linear system. More...
 
typedef SchurComplement SchurComplement
 

Enumerations

enum  SchurState { created, formed, solved }
 Schur complement class for a PETSC based linear system. More...
 

Detailed Description

Assembly explicit Schur complement for the given linear system. Provides method for resolution of the full original vector of unknowns.

Copyright (C) 2007 Technical University of Liberec. All rights reserved.

Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.

$Id$ $Revision$ $LastChangedBy$ $LastChangedDate$

Definition in file schur.hh.

Typedef Documentation

Definition at line 87 of file linsys.hh.

typedef enum SchurState SchurState

Schur complement class for a PETSC based linear system.

Linear system consists of Matrix, inversion matrix, RHS, solution and pointer to Complement. It provides methods for:

  • set complement system
  • create distribution of complement system
  • create inversion matrix of system
  • form Schur complement and rhs
  • solve and resolve system

Usage example: SchurComplement * schur = new SchurComplement(is, &distr);

... // allocation and assembly of matrix

LinSys_PETSC * ls = new LinSys_PETSC( schur->make_complement_distribution() ); schur->set_complement( ls ); schur->solve();

Input record is passed to the complement system.

Enumeration Type Documentation

enum SchurState

Schur complement class for a PETSC based linear system.

Linear system consists of Matrix, inversion matrix, RHS, solution and pointer to Complement. It provides methods for:

  • set complement system
  • create distribution of complement system
  • create inversion matrix of system
  • form Schur complement and rhs
  • solve and resolve system

Usage example: SchurComplement * schur = new SchurComplement(is, &distr);

... // allocation and assembly of matrix

LinSys_PETSC * ls = new LinSys_PETSC( schur->make_complement_distribution() ); schur->set_complement( ls ); schur->solve();

Input record is passed to the complement system.

Enumerator
created 
formed 
solved 

Definition at line 67 of file schur.hh.