Commit b1dd6da2 authored by Markus Mirz's avatar Markus Mirz
Browse files

fix nrp solver

parent 122b0d5d
......@@ -224,6 +224,21 @@ namespace DPsim {
void calculate_branch_flow();
void calculate_nodal_injection();
// TODO proper tasking system integration for parallelism
class SolveTask : public CPS::Task {
public:
SolveTask(NRpolarSolver& solver) :
Task(solver.mName + ".Solve"), mSolver(solver) {
mModifiedAttributes.push_back(Scheduler::external);
}
void execute(Real time, Int timeStepCount);
private:
NRpolarSolver& mSolver;
};
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment