Skip to content

Commit

Permalink
Add NewmarkSolver setters for beta, gamma
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauman committed Aug 24, 2016
1 parent ffc3c49 commit fde77ae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions include/solvers/newmark_solver.h
Expand Up @@ -141,6 +141,19 @@ class NewmarkSolver : public SecondOrderUnsteadySolver
DiffContext &) libmesh_override;


/**
* Setter for \f$ \beta \f$
*/
void set_beta ( Real beta )
{ _beta = beta; }

/**
* Setter for \f$ \gamma \f$. Note method is second order
* only for \f$ \gamma = 1/2 \f$
*/
void set_gamma ( Real gamma )
{ _gamma = gamma; }

protected:

/**
Expand Down

0 comments on commit fde77ae

Please sign in to comment.