Skip to content

Commit

Permalink
Merge pull request #33 from aeslaughter/const-func
Browse files Browse the repository at this point in the history
const Function
  • Loading branch information
cticenhour authored May 30, 2019
2 parents 70dd2ce + fd01678 commit 46193a1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crane
2 changes: 1 addition & 1 deletion include/bcs/CircuitDirichletPotential.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CircuitDirichletPotential : public NodalBC

/// The value for this BC
const PostprocessorValue & _current;
Function & _surface_potential;
const Function & _surface_potential;
std::string _surface;
Real _resist;
Real _coulomb_charge;
Expand Down
2 changes: 1 addition & 1 deletion include/bcs/NeumannCircuitVoltageMoles_KV.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class NeumannCircuitVoltageMoles_KV : public IntegratedBC

/// The function being used for setting the value
Real _r_units;
Function & _V_bat;
const Function & _V_bat;
const ProvideMobility & _data;

MooseVariable & _ip_var;
Expand Down
2 changes: 1 addition & 1 deletion include/bcs/NeumannCircuitVoltageNew.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class NeumannCircuitVoltageNew : public NonlocalIntegratedBC
const std::vector<dof_id_type> & _mean_en_dofs;

// System properties
Function & _V_source;
const Function & _V_source;
Real _resistance;
Real _area;
bool _use_area;
Expand Down
2 changes: 1 addition & 1 deletion include/indicators/AnalyticalDiffIndicator.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AnalyticalDiffIndicator : public ElementIntegralIndicator
protected:
virtual Real computeQpIntegral();

Function & _func;
const Function & _func;
};

#endif /* ANALYTICALDIFFINDICATOR_H */
2 changes: 1 addition & 1 deletion moose
Submodule moose updated 255 files

0 comments on commit 46193a1

Please sign in to comment.