|
| FieldModel (Fn func, InputFields... args) |
|
std::vector< const FieldCommon * > | set_dependency (FMT_UNUSED FieldSet &field_set) |
| Implements FieldAlgoBase::set_dependency. More...
|
|
void | cache_update (FieldValueCache< typename Value::element_type > &data_cache, ElementCacheMap &cache_map, unsigned int region_patch_idx) override |
| Implements FieldAlgoBase::cache_update. More...
|
|
const Value::return_type & | value (FMT_UNUSED const Point &p, FMT_UNUSED const ElementAccessor< spacedim > &elm) override |
| Implementation of virtual method. More...
|
|
void | value_list (FMT_UNUSED const Armor::array &point_list, FMT_UNUSED const ElementAccessor< spacedim > &elm, FMT_UNUSED std::vector< typename Value::return_type > &value_list) override |
| Implementation of virtual method. More...
|
|
| TYPEDEF_ERR_INFO (EI_Field, std::string) |
|
| DECLARE_EXCEPTION (ExcInputInitUnsupported,<< "The field "<< EI_Field::qval<< " do not support initialization from input.\n") |
|
| FieldAlgorithmBase (unsigned int n_comp=0) |
|
virtual void | init_from_input (const Input::Record &rec, const struct FieldAlgoBaseInitData &init_data) |
|
virtual bool | set_time (const TimeStep &time) |
|
virtual void | set_mesh (const Mesh *mesh, bool boundary_domain) |
|
void | set_component_idx (unsigned int idx) |
|
unsigned int | n_comp () const |
|
FieldResult | field_result () const |
|
virtual double | next_change_time () |
|
virtual const Value::return_type & | value (const Point &p, const ElementAccessor< spacedim > &elm)=0 |
|
virtual void | value_list (const Armor::array &point_list, const ElementAccessor< spacedim > &elm, std::vector< typename Value::return_type > &value_list)=0 |
|
virtual void | cache_reinit (const ElementCacheMap &cache_map) |
| Allows reinit data members or structures in descendants during reinit of FieldValueCache of 'parental' Field<> More...
|
|
virtual void | set_native_dh (std::shared_ptr< DOFHandlerMultiDim >) |
|
bool | is_constant_in_space () const |
|
virtual | ~FieldAlgorithmBase () |
|
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:
Vector operator() (Scalar a, Vector v) {
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);
Definition at line 248 of file field_model.hh.