42 template <
int spacedim,
class Value>
72 void set_fe_data(std::shared_ptr<DOFHandlerMultiDim> dh,
104 void set_mesh(
const Mesh *mesh,
bool boundary_domain)
override;
135 std::shared_ptr<DOFHandlerMultiDim>
dh_;
virtual ~FieldFE()
Destructor.
Declaration of class which handles the ordering of degrees of freedom (dof) and mappings between loca...
virtual void value_list(const std::vector< Point > &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list)
std::shared_ptr< std::vector< T > > ComponentDataPtr
std::vector< IdxInt > dof_indices_
Array of indexes to data_vec_, used for get/set values.
void interpolate(ElementDataCache< double >::ComponentDataPtr data_vec)
Interpolate data over all elements of target mesh.
VectorSeqDouble * data_vec_
Store data of Field.
std::string field_name_
field name read from input
void fill_data_to_cache(ElementDataCache< double > &output_data_cache)
FEValueHandler< 2, spacedim, Value > value_handler2_
Value handler that allows get value of 2D elements.
FilePath reader_file_
mesh reader file
Helper struct stores data for initizalize descentants of FieldAlgorithmBase.
FieldAlgorithmBase< spacedim, Value >::Point Point
static const int registrar
Registrar of class to factory.
void set_mesh(const Mesh *mesh, bool boundary_domain) override
FEValueHandler< 3, spacedim, Value > value_handler3_
Value handler that allows get value of 3D elements.
bool set_time(const TimeStep &time) override
unsigned int size()
Getter for shared pointer of output data.
FieldAlgorithmBase< spacedim, Value > FactoryBaseType
unsigned int data_size() const
OutputTime::DiscreteSpace discretization_
Specify section where to find the field data in input mesh file.
std::shared_ptr< DOFHandlerMultiDim > dh_
DOF handler object.
static const Input::Type::Record & get_input_type()
Implementation.
FiniteElement< 2, 3 > * fe2_
Same as previous, but represents 2D element.
virtual Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm)
Space< spacedim >::Point Point
void set_fe_data(std::shared_ptr< DOFHandlerMultiDim > dh, MappingP1< 1, 3 > *map1, MappingP1< 2, 3 > *map2, MappingP1< 3, 3 > *map3, VectorSeqDouble *data)
FEValueHandler< 1, spacedim, Value > value_handler1_
Value handler that allows get value of 1D elements.
Dedicated class for storing path to input and output files.
static const Input::Type::Selection & get_disc_selection_input_type()
FieldFE(unsigned int n_comp=0)
virtual void init_from_input(const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data)
FiniteElement< 1, 3 > * fe1_
void calculate_native_values(ElementDataCache< double >::ComponentDataPtr data_cache)
Calculate native data over all elements of target mesh.
FieldFlag::Flags flags_
Field flags.
FiniteElement< 3, 3 > * fe3_
Same as previous, but represents 3D element.
Representation of one time step..
void make_dof_handler(const Mesh *mesh)
Create DofHandler object.
unsigned int n_comp() const