Skip to content

Commit 9b8845f

Browse files
Merge pull request #36 from nicola-giuliani/protected
changed private to protected to allow children class to access stuff
2 parents 488c23e + 2dd0a8c commit 9b8845f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/bem_fma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class BEMFMA : public ParameterAcceptor
170170
/// threads on multicore architectures.
171171
TrilinosWrappers::PreconditionILU &FMA_preconditioner(const TrilinosWrappers::MPI::Vector &alpha, ConstraintMatrix &c);
172172

173-
private:
173+
protected:
174174

175175
/// Three pointers to the problem parameters to be set equal to
176176
/// the ones in the calling problem through the init function

include/boundary_conditions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class BoundaryConditions : public ParameterAcceptor
101101

102102
std::string output_file_name;
103103

104-
private:
104+
protected:
105105

106106
Functions::ParsedFunction<dim> wind;
107107

include/driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class Driver : public ParameterAcceptor
9494

9595
void run();
9696

97-
private:
97+
protected:
9898

9999
ConditionalOStream pcout;
100100

0 commit comments

Comments
 (0)