~ubuntu-branches/ubuntu/raring/rheolef/raring-proposed

« back to all changes in this revision

Viewing changes to doc/pexamples/p_laplacian.h

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
class p_laplacian {
 
2
public:
 
3
  typedef field value_type;
 
4
  typedef Float float_type;
 
5
  p_laplacian(Float p, const geo& omega_h, string approx = "P1");
 
6
  void reset(const geo& omega_h, string approx = "previous");
 
7
  field initial () const;
 
8
  field residue (const field& uh) const;
 
9
  void update_derivative (const field& uh) const;
 
10
  field derivative_solve (const field& mrh) const;
 
11
  field derivative_trans_mult (const field& mrh) const;
 
12
  Float norm (const field& uh) const;
 
13
  Float dual_norm (const field& Muh) const;
 
14
  Float dot (const field& uh, const field& vh) const;
 
15
  Float dual_dot (const field& Muh, const field& Mvh) const;
 
16
  field criteria(const field& uh) const;
 
17
  Float p;
 
18
  space Xh, Kh;
 
19
  field fh;
 
20
  form m, inv_mt, grad;
 
21
  solver sm;
 
22
  mutable form a1;
 
23
  mutable solver sa1;
 
24
};
 
25
#include "p_laplacian1.icc"
 
26
#include "p_laplacian2.icc"