#include <field_model.hh>
template<int spacedim, class Value, typename Fn, class ... InputFields>
class FieldModel< spacedim, Value, Fn, InputFields >
Class representing field computing form results of other fields.
Example of usage:
class FnProduct {
public:
return a(0) * v;
}
};
...
std::shared_ptr<
EvalPoints> eval_points = std::make_shared<EvalPoints>();
eval_poinzs->add_bulk<3>( quad );
elm_cache_map.
init(eval_points);
...
result.
set(f_product, time);
Directing class of FieldValueCache.
void init(std::shared_ptr< EvalPoints > eval_points)
Init cache.
Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension.
Class template representing a field with values dependent on: point, element, and region.
void cache_reallocate(const ElementCacheMap &cache_map, unsigned int region_idx) const override
Implements FieldCommon::cache_allocate.
void cache_update(ElementCacheMap &cache_map, unsigned int region_patch_idx) const override
Implements FieldCommon::cache_update.
bool set_time(const TimeStep &time, LimitSide limit_side) override
void set(FieldBasePtr field, double time, std::vector< std::string > region_set_names={"ALL"})
void set_mesh(const Mesh &mesh) override
Definition at line 247 of file field_model.hh.
◆ FieldsTuple
template<int spacedim, class Value , typename Fn , class ... InputFields>
◆ Point
template<int spacedim, class Value , typename Fn , class ... InputFields>
◆ FieldModel()
template<int spacedim, class Value , typename Fn , class ... InputFields>
◆ cache_update()
template<int spacedim, class Value , typename Fn , class ... InputFields>
◆ set_dependency()
template<int spacedim, class Value , typename Fn , class ... InputFields>
◆ fn
template<int spacedim, class Value , typename Fn , class ... InputFields>
◆ input_fields
template<int spacedim, class Value , typename Fn , class ... InputFields>
The documentation for this class was generated from the following file: