18#ifndef CURL_CURL_SYSTEM_H
19#define CURL_CURL_SYSTEM_H
22#include "libmesh/fem_system.h"
23#include "libmesh/vector_value.h"
24#include "libmesh/tensor_value.h"
25#include "libmesh/dirichlet_boundaries.h"
27#include "curl_curl_exact_solution.h"
38 const std::string &
name,
39 const unsigned int number);
FEMSystem, TimeSolver and NewtonSolver will handle most tasks, but we must specify element residuals.
CurlCurlSystem(EquationSystems &es, const std::string &name, const unsigned int number)
virtual bool element_time_derivative(bool request_jacobian, DiffContext &context)
Adds the time derivative contribution on elem to elem_residual.
virtual void init_data()
Initializes the member data fields associated with the system, so that, e.g., assemble() may be used.
CurlCurlExactSolution soln
void init_dirichlet_bcs()
virtual void init_context(DiffContext &context)
RealGradient exact_solution(const Point &p)
virtual bool side_time_derivative(bool request_jacobian, DiffContext &context)
Adds the time derivative contribution on side of elem to elem_residual.
RealGradient forcing(const Point &p)
This class provides all data required for a physics package (e.g.
This is the EquationSystems class.
This class provides a specific system class.
A Point defines a location in LIBMESH_DIM dimensional Real space.
const std::string & name() const
unsigned int number() const
The libMesh namespace provides an interface to certain functionality in the library.