Skip to content

Commit c76733b

Browse files
author
Edward Palmer
committed
UpdateOffsets and UpdateBlockVector are now private methods; no longer virtual
1 parent 8d57a18 commit c76733b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/problem_operators/problem_operator_base.hpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ class ProblemOperatorBase
3131
/// Set gridfunction of trial variables from the trial variable names.
3232
virtual void SetTrialVariables();
3333

34-
/// Update the block vectors and offsets after a mesh change.
35-
virtual void UpdateOffsets();
36-
37-
/// Update a block vector. Should be called after the offsets have been updated.
38-
virtual void UpdateBlockVector(mfem::BlockVector & X);
39-
4034
/// Returns a reference to the operator's width.
4135
virtual int & Width() = 0;
4236

@@ -65,5 +59,12 @@ class ProblemOperatorBase
6559

6660
/// Block vectors.
6761
mfem::BlockVector _true_x, _true_rhs;
62+
63+
private:
64+
/// Update the block vectors and offsets after a mesh change.
65+
void UpdateOffsets();
66+
67+
/// Update a block vector. Should be called after the offsets have been updated.
68+
void UpdateBlockVector(mfem::BlockVector & X);
6869
};
6970
}

0 commit comments

Comments
 (0)