4#include <deal.II/base/conditional_ostream.h>
6#include <core/varTypeEnums.h>
21 Field(fieldType _type, PDEType _pdetype, std::string _name);
27 unsigned int startIndex;
28 unsigned int numComponents;
30 bool hasnonuniformDirichletBCs;
37 static unsigned int fieldCount;
42 static unsigned int indexCount;
48 validate_enum_types();
76 , name(std::move(_name))
78 validate_enum_types();
83 startIndex = indexCount;
97 case fieldType::SCALAR:
98 case fieldType::VECTOR:
101 throw std::invalid_argument(
"Unknown field type in Field constructor.");
106 case PDEType::EXPLICIT_TIME_DEPENDENT:
107 case PDEType::AUXILIARY:
108 case PDEType::IMPLICIT_TIME_DEPENDENT:
109 case PDEType::TIME_INDEPENDENT:
112 throw std::invalid_argument(
"Unknown PDE type in Field constructor.");
140 hasDirichletBCs =
false;
141 hasnonuniformDirichletBCs =
false;
142 hasNeumannBCs =
false;
Field class that handles the attributes of each field.
Definition fields.h:16
Field(fieldType _type, PDEType _pdetype, std::string _name)
Constructor.
Definition fields.h:73