Skip to content

Commit

Permalink
minor style
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Jan 3, 2025
1 parent 8842ad0 commit 21daa0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/t319-basis.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,24 +155,24 @@ int main(int argc, char **argv) {
CeedBasis basis_from_nontensor, basis_to_nontensor;
{
CeedElemTopology topo;
CeedInt num_comp, num_nodes, nqpts;
CeedInt num_comp, num_nodes, num_qpts;
const CeedScalar *interp, *grad;

CeedBasisGetTopology(basis_from, &topo);
CeedBasisGetNumComponents(basis_from, &num_comp);
CeedBasisGetNumNodes(basis_from, &num_nodes);
CeedBasisGetNumQuadraturePoints(basis_from, &nqpts);
CeedBasisGetNumQuadraturePoints(basis_from, &num_qpts);
CeedBasisGetInterp(basis_from, &interp);
CeedBasisGetGrad(basis_from, &grad);
CeedBasisCreateH1(ceed, topo, num_comp, num_nodes, nqpts, interp, grad, NULL, NULL, &basis_from_nontensor);
CeedBasisCreateH1(ceed, topo, num_comp, num_nodes, num_qpts, interp, grad, NULL, NULL, &basis_from_nontensor);

CeedBasisGetTopology(basis_to, &topo);
CeedBasisGetNumComponents(basis_to, &num_comp);
CeedBasisGetNumNodes(basis_to, &num_nodes);
CeedBasisGetNumQuadraturePoints(basis_to, &nqpts);
CeedBasisGetNumQuadraturePoints(basis_to, &num_qpts);
CeedBasisGetInterp(basis_to, &interp);
CeedBasisGetGrad(basis_to, &grad);
CeedBasisCreateH1(ceed, topo, num_comp, num_nodes, nqpts, interp, grad, NULL, NULL, &basis_to_nontensor);
CeedBasisCreateH1(ceed, topo, num_comp, num_nodes, num_qpts, interp, grad, NULL, NULL, &basis_to_nontensor);
}

// Test projection on non-tensor bases
Expand Down

0 comments on commit 21daa0c

Please sign in to comment.