Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Member Functions | Public Attributes | List of all members
FieldAddPotential< spacedim, Value >::FieldFactory Class Reference

#include <field_add_potential.hh>

Inheritance diagram for FieldAddPotential< spacedim, Value >::FieldFactory:
Inheritance graph
[legend]
Collaboration diagram for FieldAddPotential< spacedim, Value >::FieldFactory:
Collaboration graph
[legend]

Public Member Functions

 FieldFactory (arma::vec::fixed< spacedim+1 > potential, std::string field_name)
 Constructor. More...
 
virtual Field< spacedim, Value >
::FieldBasePtr 
create_field (Input::Record rec, const FieldCommon &field)
 

Public Attributes

arma::vec::fixed< spacedim+1 > potential_
 
std::string field_name_
 

Detailed Description

template<int spacedim, class Value>
class FieldAddPotential< spacedim, Value >::FieldFactory

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

Definition at line 43 of file field_add_potential.hh.

Constructor & Destructor Documentation

template<int spacedim, class Value >
FieldAddPotential< spacedim, Value >::FieldFactory::FieldFactory ( arma::vec::fixed< spacedim+1 >  potential,
std::string  field_name 
)
inline

Constructor.

Definition at line 46 of file field_add_potential.hh.

Member Function Documentation

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

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 51 of file field_add_potential.hh.

Member Data Documentation

template<int spacedim, class Value >
std::string FieldAddPotential< spacedim, Value >::FieldFactory::field_name_

Definition at line 65 of file field_add_potential.hh.

template<int spacedim, class Value >
arma::vec::fixed<spacedim+1> FieldAddPotential< spacedim, Value >::FieldFactory::potential_

Definition at line 64 of file field_add_potential.hh.


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