PRISMS-PF
v2.1
buildFields.cc
Go to the documentation of this file.
1
/*
2
* buildFields.cc
3
*
4
* Created on: Feb 22, 2017
5
* Author: stephendewitt
6
*/
7
8
9
// =====================================================================
10
// FUNCTION TO BUILD THE VECTOR OF FIELDS
11
// =====================================================================
12
13
#include "../../include/matrixFreePDE.h"
14
15
template
<
int
dim,
int
degree>
16
void
MatrixFreePDE<dim,degree>::buildFields
(){
17
// Build each of the fields in the system
18
for
(
unsigned
int
i=0; i<userInputs.number_of_variables; i++){
19
fields.push_back(
Field<dim>
(userInputs.var_type[i], userInputs.var_eq_type[i], userInputs.var_name[i]));
20
}
21
22
}
23
24
#include "../../include/matrixFreePDE_template_instantiations.h"
Field
Definition:
fields.h:9
MatrixFreePDE::buildFields
void buildFields()
Definition:
buildFields.cc:16
src
matrixfree
buildFields.cc
Generated by
1.8.14