Skip to content

Integrator for laplacian plus constant #4085

Answered by tzanio
nilsfriess asked this question in Q&A
Discussion options

You must be logged in to vote
   double k = 4.0;

   ConstantCoefficient one(1.0);
   ConstantCoefficient kappa2(k*k);

   a.AddDomainIntegrator(new DiffusionIntegrator(one));
   a.AddDomainIntegrator(new MassIntegrator(kappa2));

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nilsfriess
Comment options

Answer selected by nilsfriess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants