Skip to content

Commit ed178fb

Browse files
author
Matthew Emmett
committed
scalar: Update to new naming convention.
1 parent c807217 commit ed178fb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

examples/scalar/scalar_sweeper.hpp

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ class ScalarSweeper : public pfasst::encap::IMEXSweeper<time>
7575
exact(q, t);
7676
}
7777

78-
void f1eval(shared_ptr<Encapsulation> f_encap, shared_ptr<Encapsulation> q_encap, time) override
78+
void f_expl_eval(shared_ptr<Encapsulation> f_encap,
79+
shared_ptr<Encapsulation> q_encap, time t) override
7980
{
81+
UNUSED(t);
8082
auto& f = pfasst::encap::as_vector<complex<double>,time>(f_encap);
8183
auto& q = pfasst::encap::as_vector<complex<double>,time>(q_encap);
8284

@@ -85,8 +87,10 @@ class ScalarSweeper : public pfasst::encap::IMEXSweeper<time>
8587
this->_nf1eval++;
8688
}
8789

88-
void f2eval(shared_ptr<Encapsulation> f_encap, shared_ptr<Encapsulation> q_encap, time) override
90+
void f_impl_eval(shared_ptr<Encapsulation> f_encap,
91+
shared_ptr<Encapsulation> q_encap, time t) override
8992
{
93+
UNUSED(t);
9094
auto& f = pfasst::encap::as_vector<complex<double>,time>(f_encap);
9195
auto& q = pfasst::encap::as_vector<complex<double>,time>(q_encap);
9296

@@ -95,9 +99,11 @@ class ScalarSweeper : public pfasst::encap::IMEXSweeper<time>
9599
this->_nf2eval++;
96100
}
97101

98-
void f2comp(shared_ptr<Encapsulation> f_encap, shared_ptr<Encapsulation> q_encap, time, time dt,
99-
shared_ptr<Encapsulation> rhs_encap) override
102+
void impl_solve(shared_ptr<Encapsulation> f_encap,
103+
shared_ptr<Encapsulation> q_encap, time t, time dt,
104+
shared_ptr<Encapsulation> rhs_encap) override
100105
{
106+
UNUSED(t);
101107
auto& f = pfasst::encap::as_vector<complex<double>,time>(f_encap);
102108
auto& q = pfasst::encap::as_vector<complex<double>,time>(q_encap);
103109
auto& rhs = pfasst::encap::as_vector<complex<double>,time>(rhs_encap);

0 commit comments

Comments
 (0)