22 template <
int spacedim,
class Value>
26 inner_dividend_(inner_dividend),
27 inner_divisor_(inner_divisor)
34 template <
int spacedim,
class Value>
37 this->r_value_ = inner_dividend_->value(p,elm);
38 double div_val = inner_divisor_.value(p,elm);
40 for(
unsigned int row=0; row < this->value_.n_rows(); row++)
41 for(
unsigned int col=0; col < this->value_.n_cols(); col++) {
42 this->value_(row,col) /= div_val;
45 return this->r_value_;
53 template <
int spacedim,
class Value>
60 inner_dividend_->value_list(point_list, elm, value_list);
62 for(
unsigned int i=0; i< point_list.
size(); i++) {
63 double div_val = inner_divisor_.value(point_list.
vec<spacedim>(i),elm);
64 Value envelope(value_list[i]);
66 for(
unsigned int row=0; row < this->value_.n_rows(); row++)
67 for(
unsigned int col=0; col < this->value_.n_cols(); col++)
68 envelope(row,col) /= div_val;
74 template <
int spacedim,
class Value>
77 ASSERT_PTR(inner_dividend_).error(
"Null data pointer.\n");
79 return inner_dividend_->set_time(time) && changed;
84 template <
int spacedim,
class Value>