36 #ifndef GeometricFieldSources_H
37 #define GeometricFieldSources_H
54 template<
class Type,
class GeoMesh,
template<
class>
class PrimitiveField>
57 private HashPtrTable<typename GeoMesh::template FieldSource<Type>>
67 typedef typename GeoMesh::template FieldSource<Type>
Source;
81 template<
class Type2,
class GeoMesh2,
template<
class>
class PrimitiveField2>
97 template<
template<
class>
class PrimitiveField2>
155 template<
class Type,
class GeoMesh,
template<
class>
class PrimitiveField>
179 template<
class InternalField>
184 template<
class InternalField>
194 template<
class InternalField>
205 template<
class InternalField>
208 const InternalField&,
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Part of a geometric field used for setting the values associated with optional sources.
const Source & operator[](const word &sourceName) const
Find and return a field source.
void readField(const Internal &field, const dictionary &dict)
Read the sources.
const HashPtrTable< Source > & table() const
Access the underlying field table.
DimensionedField< Type, GeoMesh, PrimitiveField > Internal
Type of the internal field from which this GeometricField is derived.
void writeEntry(const word &keyword, Ostream &os) const
Write sources as dictionary entry.
GeoMesh::template FieldSource< Type > Source
Type of the field source of which this field sources is composed.
HashTable< word > types() const
Return a map from the source name to the field source type.
friend class GeometricFieldSources
Declare friendship with other geometric field sources.
~GeometricFieldSources()
Destructor.
void reset(const Internal &, const GeometricFieldSources &)
Reset the boundary field contents to the given field.
A HashTable specialisation for hashing pointers.
An STL-conforming hash table.
static autoPtr< NoFieldSource< Type > > New(const word &, const InternalField &)
Dummy selector.
autoPtr< NoFieldSource< Type > > clone(const InternalField &) const
Dummy clone.
const nil internalField() const
Dummy return of the internal field reference.
NoFieldSource()
Construct null.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A zero-sized class without any storage. Used, for example, in HashSet.
A class for handling words, derived from string.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)