Home
last modified time | relevance | path

Searched hist:ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 (Results 1 – 25 of 25) sorted by relevance

/libCEED/examples/rust/ex1-volume/
H A D.gitignoreded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A DCargo.tomlded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/examples/rust/mesh/
H A D.gitignoreded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A DCargo.tomlded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/examples/rust/ex2-surface/
H A D.gitignoreded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A DCargo.tomlded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/
H A D.codecov.ymldiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A DCargo.tomlded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A D.gitignorediff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A D.gitlab-ci.ymldiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/examples/rust/ex1-volume/src/
H A Dopt.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Dtransform.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Dmain.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/examples/rust/ex2-surface/src/
H A Dopt.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Dtransform.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Dmain.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/tests/
H A Dt002-ceed.cdiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Djunit.pydiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/examples/rust/mesh/src/
H A Dlib.rsded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/interface/
H A Dceed-register.cdiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Dceed-qfunction-register.cdiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/.github/workflows/
H A Drust-test-with-style.ymldiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/examples/ceed/
H A Dex2-surface.cdiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
H A Dex1-volume.cdiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>
/libCEED/include/
H A Dceed.hdiff ded9b81dfe1c5b0a720aeaeab78a4be02eef9bb5 Tue Jan 12 17:05:36 UTC 2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> Rust - add examples (#683)

* Rust - initial version of ex1

Example - move closure

Co-authored-by: Jed Brown <jed@jedbrown.org>

typo fix

Co-authored-by: Jed Brown <jed@jedbrown.org>

minor tidying

order -> degree

drop operator applicaiton messages

* rust: make top-level workspace and use libceed from path

This allows a single "cargo test" from the top level.

* rust: add version-sync (to help us remember when we publish a crate)

* examples - consistency update

* Rust - add Cargo.lock to top level gitignore

* rust - refactor example to add tests

* Rust - test and style from workspace

* Rust - update year in header

* Rust - add error values to Error, switch to String

* Rust - add input validation in check

* Rust - format volume output in example

* Rust - update example help output

* Rust - example tests rename to simplify

* Rust - split example 1 into 3 parts

* rust: std::sync::Once for CeedRegisterAll()

* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing

* Examples - update rust example to new builder syntax

* Examples - add rust ex2

* Rust - add CEED_STRIDES_BACKEND

* Examples - drop unused restriction in ceed ex2

* Rust - minor documentation update

* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting

* Actions - add Rust code coverage

* Rust - fix usize conversion

* Rust - update casting between i32(C interface) and usize(Rust interface)

* Actions - include Rust doctests

* Actions - Rust doctest coverange only avaliable in nightly

* Rust - drop explict typing of values passed to C get* functions

* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests

* cargo fmt

* Examples - add separate Rust example quiet mode

* Actions - rustfmt not always avaliable on nightly

* Rust - simplify version tests

* Actions - add a few notes

* CodeCov - try adding gallery to 'fixes'

* CodeCov - drop some codecov noise in examples

* Examples - test all combinations in ex1/ex2

* Rust - test 3d examples without quiet flag

* Actions - use gcc-10 for compatibility in gcov reports

* Examples - test gallery in 1/2/3d in Rust ex

* Gitlab - also report gcov version

* JUnit - adjust indentation

* Gitlab - make it easier to find complier info in logs

* Tests - fix minor styling strangeness in t002

* Actions - only upload rust coverage

* Actions - exclude non-rust files from rust coverage

* Cov - exclude weak symbols code, not useful cov info

* Examples - clean up options creation for tests in Rust examples

* Examples - simplify tolerance for testing Rust examples

* cargo fmt

* Examples - another match

* Examples - common Rust example code in shared local crate

Co-authored-by: Jed Brown <jed@jedbrown.org>