|
libMesh
|
Go to the source code of this file.
Classes | |
| class | NonlinearDiffusionSystem |
| An FEMSystem for -div((1 + u^2) grad u) = f whose element Jacobian is computed by forward-mode automatic differentiation of the element residual. More... | |
Typedefs | |
| typedef MetaPhysicL::DualNumber< Number, MetaPhysicL::DynamicSparseNumberArray< Number, unsigned int > > | ADNumber |
Functions | |
| Number | exact_value (const Point &p, const Parameters &, const std::string &, const std::string &) |
| Gradient | exact_gradient (const Point &p, const Parameters &, const std::string &, const std::string &) |
| Number | forcing (const Point &p) |
| int | main (int argc, char **argv) |
| typedef MetaPhysicL::DualNumber<Number, MetaPhysicL::DynamicSparseNumberArray<Number, unsigned int> > ADNumber |
Definition at line 81 of file fem_system_ex6.C.
| Gradient exact_gradient | ( | const Point & | p, |
| const Parameters & | , | ||
| const std::string & | , | ||
| const std::string & | |||
| ) |
Definition at line 91 of file fem_system_ex6.C.
References libMesh::pi, and libMesh::Real.
| Number exact_value | ( | const Point & | p, |
| const Parameters & | , | ||
| const std::string & | , | ||
| const std::string & | |||
| ) |
Definition at line 85 of file fem_system_ex6.C.
References libMesh::pi.
Definition at line 101 of file fem_system_ex6.C.
References exact_gradient(), exact_value(), libMesh::TypeVector< T >::norm_sq(), and libMesh::pi.
Referenced by assemble_advection_diffusion(), HeatSystem::element_time_derivative(), and NonlinearDiffusionSystem::element_time_derivative().
Definition at line 236 of file fem_system_ex6.C.
References libMesh::DiffSolver::absolute_residual_tolerance, libMesh::EquationSystems::add_system(), libMesh::ExactSolution::attach_exact_deriv(), libMesh::ExactSolution::attach_exact_value(), libMesh::MeshTools::Generation::build_square(), libMesh::ExactSolution::compute_error(), libMesh::default_solver_package(), exact_gradient(), exact_value(), libMesh::ExactSolution::h1_error(), libMesh::EquationSystems::init(), libMesh::INVALID_SOLVER_PACKAGE, libMesh::ExactSolution::l2_error(), main(), libMesh::DiffSolver::max_nonlinear_iterations, mesh, libMesh::out, libMesh::EquationSystems::print_info(), libMesh::MeshBase::print_info(), libMesh::QUAD9, libMesh::DiffSolver::quiet, libMesh::DiffSolver::relative_residual_tolerance, libMesh::DiffSolver::relative_step_tolerance, libMesh::DifferentiableSystem::time_solver, and libMesh::DiffSolver::verbose.