Memosa-FVM  0.2
PC.cpp
Go to the documentation of this file.
1 // This file os part of FVM
2 // Copyright (c) 2012 FVM Authors
3 // See LICENSE file for terms.
4 
5 #include "PC.h"
6 
7 
8 PCSet*
9 createPCSet(const int order, const int dim)
10 {
11  PCSet *pc = new PCSet(order,dim,"HG");
12 
13  cout << "The number of PC terms in an expansion is "
14  << pc->GetNumberPCTerms() << endl;
15 
16 
17  pc->SetTaylorTolerance(1.e-15);
18  return pc;
19 }
PCSet * createPCSet(const int order, const int dim)
Definition: PC.cpp:9