Syntax question

What is the difference between the following code (please note the use of brackets in the P1):

mesh Th=square(10,10);
fespace Wh(Th,[P1]);

and

mesh Th=square(10,10);
fespace Wh(Th,P1);

Thanks you!

P. Negron.

It makes no difference. The two ways are valid.

Thank you very much for your answer. Actually my question is related to the example code for eigenvalues for the Laplacian on the unit square. In that code the instruction:

varf b ([u1], [u2]) = int2d(Th)(u1*u2); //no boundary condition

is uses the brackets to “eliminate” or not using boundary conditions. In this case the functions u1 and u2 are scalar functions. How do I “eliminate boundary conditions when I have vector functions, say:

varf b ([u1,u2], [v1,v2]) = int2d(Th)(u1*v1+u2*v2); //no boundary condition 

Thank you.

Pablo Negron.