Skip to content

Commit 667ecda

Browse files
committed
Add default value (linear) for elementOrder
1 parent 9cdbfbf commit 667ecda

10 files changed

Lines changed: 24 additions & 24 deletions

‎dist/feascript-worker.esm.js‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript-worker.esm.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript.cjs.js‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript.cjs.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript.esm.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript.esm.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript.umd.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/feascript.umd.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/mesh/basisFunctions.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export class BasisFunctions {
1717
/**
1818
* Constructor to initialize the BasisFunctions class
1919
* @param {string} meshDimension - The dimension of the mesh
20-
* @param {string} elementOrder - The order of elements
20+
* @param {string} [elementOrder='linear'] - The order of elements
2121
* @param {string} [elementShape='quad'] - The 2D element shape, either 'quad' or 'triangle'
2222
*/
23-
constructor({ meshDimension, elementOrder, elementShape = "quad" }) {
23+
constructor({ meshDimension, elementOrder = "linear", elementShape = "quad" }) {
2424
this.meshDimension = meshDimension;
2525
this.elementOrder = elementOrder;
2626
this.elementShape = elementShape;

‎src/methods/numericalIntegration.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ export class NumericalIntegration {
1414
/**
1515
* Constructor to initialize the NumericalIntegration class
1616
* @param {string} meshDimension - The dimension of the mesh
17-
* @param {string} elementOrder - The order of elements
17+
* @param {string} [elementOrder='linear'] - The order of elements
1818
* @param {string} [elementShape='quad'] - The 2D element shape, either 'quad' or 'triangle'
1919
*/
20-
constructor({ meshDimension, elementOrder, elementShape = "quad" }) {
20+
constructor({ meshDimension, elementOrder = "linear", elementShape = "quad" }) {
2121
this.meshDimension = meshDimension;
2222
this.elementOrder = elementOrder;
2323
this.elementShape = elementShape;

0 commit comments

Comments
 (0)