Flow123d  release_3.0.0-1111-g6aae175
Public Member Functions | Public Attributes | List of all members
MultiField< spacedim, Value >::MultiFieldFactory Class Reference

#include <multi_field.hh>

Inheritance diagram for MultiField< spacedim, Value >::MultiFieldFactory:
Inheritance graph
[legend]
Collaboration diagram for MultiField< spacedim, Value >::MultiFieldFactory:
Collaboration graph
[legend]

Public Member Functions

 MultiFieldFactory (unsigned int index)
 Constructor. More...
 
virtual Field< spacedim, Value >::FieldBasePtr create_field (Input::Record rec, const FieldCommon &field)
 
bool is_active_field_descriptor (const Input::Record &in_rec, const std::string &input_name) override
 

Public Attributes

unsigned int index_
 

Detailed Description

template<int spacedim, class Value>
class MultiField< spacedim, Value >::MultiFieldFactory

Definition at line 100 of file multi_field.hh.

Constructor & Destructor Documentation

template<int spacedim, class Value>
MultiField< spacedim, Value >::MultiFieldFactory::MultiFieldFactory ( unsigned int  index)
inline

Constructor.

Definition at line 103 of file multi_field.hh.

Member Function Documentation

template<int spacedim, class Value >
Field< spacedim, Value >::FieldBasePtr MultiField< spacedim, Value >::MultiFieldFactory::create_field ( Input::Record  rec,
const FieldCommon field 
)
virtual

Default method that creates an instance of FieldBase for field.

Reads key given by field_name and creates the field instance using FieldBase<...>::function_factory.

Reimplemented from Field< spacedim, Value >::FactoryBase.

Definition at line 345 of file multi_field.impl.hh.

template<int spacedim, class Value >
bool MultiField< spacedim, Value >::MultiFieldFactory::is_active_field_descriptor ( const Input::Record in_rec,
const std::string &  input_name 
)
overridevirtual

Check if Input::Record accessor contains data of field given by input_name.

Returns true when ever the method create_field returns non-null pointer, otherwise returns false.

Reimplemented from Field< spacedim, Value >::FactoryBase.

Definition at line 370 of file multi_field.impl.hh.

Member Data Documentation

template<int spacedim, class Value>
unsigned int MultiField< spacedim, Value >::MultiFieldFactory::index_

Definition at line 110 of file multi_field.hh.


The documentation for this class was generated from the following files: