Flow123d  master-f44eb46
Public Member Functions | Public Attributes | List of all members
FieldFE< spacedim, Value >::NativeFactory Class Reference

#include <field_fe.hh>

Inheritance diagram for FieldFE< spacedim, Value >::NativeFactory:
Inheritance graph
[legend]
Collaboration diagram for FieldFE< spacedim, Value >::NativeFactory:
Collaboration graph
[legend]

Public Member Functions

 NativeFactory (unsigned int index, std::shared_ptr< DOFHandlerMultiDim > conc_dof_handler, VectorMPI dof_vector=VectorMPI::sequential(0))
 Constructor. More...
 
Field< spacedim, Value >::FieldBasePtr create_field (Input::Record rec, const FieldCommon &field) override
 
- Public Member Functions inherited from Field< spacedim, Value >::FactoryBase
virtual bool is_active_field_descriptor (const Input::Record &in_rec, const std::string &input_name)
 

Public Attributes

unsigned int index_
 
std::shared_ptr< DOFHandlerMultiDimconc_dof_handler_
 
VectorMPI dof_vector_
 

Detailed Description

template<int spacedim, class Value>
class FieldFE< spacedim, Value >::NativeFactory

Factory class (descendant of Field<...>::FactoryBase) that is necessary for setting pressure values are piezometric head values.

Definition at line 107 of file field_fe.hh.

Constructor & Destructor Documentation

◆ NativeFactory()

template<int spacedim, class Value >
FieldFE< spacedim, Value >::NativeFactory::NativeFactory ( unsigned int  index,
std::shared_ptr< DOFHandlerMultiDim conc_dof_handler,
VectorMPI  dof_vector = VectorMPI::sequential(0) 
)
inline

Constructor.

Definition at line 110 of file field_fe.hh.

Member Function Documentation

◆ create_field()

template<int spacedim, class Value >
Field< spacedim, Value >::FieldBasePtr FieldFE< spacedim, Value >::NativeFactory::create_field ( Input::Record  rec,
const FieldCommon field 
)
overridevirtual

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 144 of file field_fe.cc.

Member Data Documentation

◆ conc_dof_handler_

template<int spacedim, class Value >
std::shared_ptr<DOFHandlerMultiDim> FieldFE< spacedim, Value >::NativeFactory::conc_dof_handler_

Definition at line 119 of file field_fe.hh.

◆ dof_vector_

template<int spacedim, class Value >
VectorMPI FieldFE< spacedim, Value >::NativeFactory::dof_vector_

Definition at line 120 of file field_fe.hh.

◆ index_

template<int spacedim, class Value >
unsigned int FieldFE< spacedim, Value >::NativeFactory::index_

Definition at line 118 of file field_fe.hh.


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