libMesh
|
Biharmonic's friend class definition. More...
#include <biharmonic_jr.h>
Public Member Functions | |
JR (EquationSystems &eqSys, const std::string &name, const unsigned int number) | |
Constructor. More... | |
void | initialize () override |
void | residual (const NumericVector< Number > &u, NumericVector< Number > &R, NonlinearImplicitSystem &sys) override |
The residual assembly function for the Biharmonic system. More... | |
void | residual_and_jacobian (const NumericVector< Number > &u, NumericVector< Number > *R, SparseMatrix< Number > *J, NonlinearImplicitSystem &) override |
The residual and Jacobian assembly function for the Biharmonic system. More... | |
void | bounds (NumericVector< Number > &XL, NumericVector< Number > &XU, NonlinearImplicitSystem &) override |
Function defining the bounds of the Biharmonic system. More... | |
Static Public Member Functions | |
static Number | InitialDensityBall (const Point &p, const Parameters ¶meters, const std::string &, const std::string &) |
Static functions to be used for initialization. More... | |
static Number | InitialDensityRod (const Point &p, const Parameters ¶meters, const std::string &, const std::string &) |
static Number | InitialDensityStrip (const Point &p, const Parameters ¶meters, const std::string &, const std::string &) |
static Gradient | InitialGradientZero (const Point &, const Parameters &, const std::string &, const std::string &) |
Private Attributes | |
Biharmonic & | _biharmonic |
Biharmonic's friend class definition.
Definition at line 29 of file biharmonic_jr.h.
Biharmonic::JR::JR | ( | EquationSystems & | eqSys, |
const std::string & | name, | ||
const unsigned int | number | ||
) |
Constructor.
Definition at line 19 of file biharmonic_jr.C.
References _biharmonic, Biharmonic::_dim, libMesh::DofMap::add_periodic_boundary(), libMesh::HERMITE, libMesh::PeriodicBoundaryBase::myboundary, libMesh::PeriodicBoundaryBase::pairedboundary, and libMesh::THIRD.
|
override |
Function defining the bounds of the Biharmonic system.
Definition at line 498 of file biharmonic_jr.C.
References std::abs(), libMesh::DofMap::dof_indices(), libMesh::NumericVector< T >::insert(), libMesh::EquationSystems::n_dofs(), libMesh::Real, libMesh::DenseVector< T >::resize(), and libMesh::DofMap::variable_type().
|
static |
Static functions to be used for initialization.
Definition at line 127 of file biharmonic_jr.C.
References libMesh::Parameters::get(), libMesh::EquationSystems::parameters, and libMesh::Real.
Referenced by initialize().
|
static |
Definition at line 143 of file biharmonic_jr.C.
References libMesh::Parameters::get(), libMesh::EquationSystems::parameters, and libMesh::Real.
Referenced by initialize().
|
static |
Definition at line 163 of file biharmonic_jr.C.
References libMesh::Parameters::get(), libMesh::EquationSystems::parameters, libMesh::Real, and std::sqrt().
Referenced by initialize().
|
static |
|
override |
Definition at line 97 of file biharmonic_jr.C.
References Biharmonic::BALL, InitialDensityBall(), InitialDensityRod(), InitialDensityStrip(), InitialGradientZero(), libMesh::out, libMesh::EquationSystems::parameters, libMesh::Real, Biharmonic::ROD, libMesh::Parameters::set(), and Biharmonic::STRIP.
|
override |
The residual assembly function for the Biharmonic system.
Definition at line 186 of file biharmonic_jr.C.
|
override |
The residual and Jacobian assembly function for the Biharmonic system.
Definition at line 193 of file biharmonic_jr.C.
References libMesh::SparseMatrix< T >::add_matrix(), libMesh::NumericVector< T >::add_vector(), libMesh::DofMap::constrain_element_matrix(), libMesh::DofMap::constrain_element_vector(), libMesh::FEType::default_quadrature_rule(), libMesh::DofMap::dof_indices(), Biharmonic::DOUBLE_OBSTACLE, Biharmonic::DOUBLE_WELL, libMesh::libmesh_ignore(), Biharmonic::LOG_DOUBLE_OBSTACLE, Biharmonic::LOG_DOUBLE_WELL, libMesh::EquationSystems::n_dofs(), libMesh::DenseVector< T >::resize(), libMesh::DenseMatrix< T >::resize(), and libMesh::DofMap::variable_type().
|
private |
Definition at line 91 of file biharmonic_jr.h.
Referenced by JR().