std::basic_string< CepsChar > CepsString
C++ format string.
Poisson equation with Dirichlet 1 on anode, 0 on cathode. Neumann elsewhere. Functional tensorial con...
DirichletAnodeCathodeProblem(Geometry *g, InputParameters *p=nullptr)
Constructor from geometry and optional input file.
void run() override
Run does nothing. The tests call directly a LaplacianSolver solve method.
TensorSAFunc * getDiffusionTensor() const
Diffusion tensor.
~DirichletAnodeCathodeProblem() override
Destructor.
void defineAnalyticSolution() override
No analytic solution.
void setupWithParameters(InputParameters *p) override
Sets the diffusion tensor.
CepsString m_sigmaOpts
Text input for conductivity.
void defineSourceTerms() override
No source term.
void defineUnknowns() override
Lists the unknowns of the problem (one here)
void defineBoundaryConditions() override
Dirichlet 1/0 on electrodes, neumann 0 elsewhere.
Encapsulates all the geometrical data.
An abstract class for objects (problems) that have an anode and a cathode The template argument must ...
Laplacian PDE, single unknown, constant stiffness coefficient.
A SAFunc is a ceps::Function that uses CepsStandardArgs as argument of call operator (),...