Commit a5c1f265 authored by Luca Pasquale's avatar Luca Pasquale
Browse files

Applied A-style (again) to the eta module

parent f1ae1c42
......@@ -313,7 +313,7 @@ ETA_ADR1DTest::run()
// and not a double: we use a dot product with a unitary VectorSmall<1>
// to obtain its value as adouble
VectorSmall<1> oneVector;
oneVector[0]=1.0;
oneVector[0] = 1.0;
{
......@@ -324,8 +324,8 @@ ETA_ADR1DTest::run()
ETuSpace,
ETuSpace,
dot( grad (phi_i) , grad (phi_j) )
+ dot ( grad (phi_j) , value(oneVector) ) * value (ETbetaSpace, beta)*phi_i
dot ( grad (phi_i) , grad (phi_j) )
+ dot ( grad (phi_j) , value (oneVector) ) * value (ETbetaSpace, beta) *phi_i
+ 2.0 * phi_i * phi_j
)
......
......@@ -37,7 +37,7 @@
- multiplication by a MatrixSmall
We do this by multiplying the gradient by the identity matrix
(i.e. we're integrating the divergence)
Tutorials that should be read before: 1,3
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment