Memosa-FVM  0.2
PhononMacro.h
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 #ifndef _PHONONMACRO_H_
6 #define _PHONONMACRO_H_
7 
8 #include "Field.h"
9 
10 using namespace std;
11 
13 {
14 
15  typedef shared_ptr<Field> FieldPtr;
16  typedef vector<FieldPtr> FieldVector;
17  typedef map<int,FieldVector*> FieldVectorMap;
18 
19  PhononMacro(const string baseName);
20 
36 
37  Field zero; //used to fill in continuityResidual
38  Field one; //used to fill in density
39 
40  Field& getModeTemp(int mesh, int mode);
41  Field& getModeFlux(int mesh, int mode);
42  Field& getBandTemp(int mesh, int band);
43  Field& getBandRelEnergy(int mesh, int band);
44  Field& getBandFlux(int mesh, int band);
45  Field& getColorField(int level);
46  Field& getPlotColorField(int level);
47 };
48 
49 #endif
Field zero
Definition: PhononMacro.h:37
map< int, FieldVector * > FieldVectorMap
Definition: PhononMacro.h:17
Definition: Field.h:14
Field deltaT
Definition: PhononMacro.h:22
Field temperature
Definition: PhononMacro.h:21
vector< FieldPtr > FieldVector
Definition: PhononMacro.h:16
Field TlResidual
Definition: PhononMacro.h:24
Field TlFASCorrection
Definition: PhononMacro.h:26
FieldVector CellColors
Definition: PhononMacro.h:34
Field TlInjected
Definition: PhononMacro.h:25
FieldVectorMap BandRelEnergy
Definition: PhononMacro.h:32
FieldVector plottingCellColors
Definition: PhononMacro.h:35
FieldVectorMap BandTemperatures
Definition: PhononMacro.h:31
FieldVectorMap BranchFlux
Definition: PhononMacro.h:30
FieldVectorMap BranchTemperatures
Definition: PhononMacro.h:29
FieldVectorMap BandFlux
Definition: PhononMacro.h:33
Field heatFlux
Definition: PhononMacro.h:27
shared_ptr< Field > FieldPtr
Definition: PhononMacro.h:15