Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fannyzotter
Copy link
Member

No description provided.

commit 95a1949
Author: F Zotter <[email protected]>
Date:   Tue Jun 10 14:16:53 2025 +0200

    add crystal test

commit 786ffd3
Author: F Zotter <[email protected]>
Date:   Tue Jun 10 12:57:08 2025 +0200

    use rand.h

commit ef72329
Author: F Zotter <[email protected]>
Date:   Tue Jun 10 11:44:52 2025 +0200

    ommit cuda clamp

commit 109467c
Author: F Zotter <[email protected]>
Date:   Tue Jun 10 11:37:47 2025 +0200

    ommit clamp

commit 5e890f2
Author: F Zotter <[email protected]>
Date:   Tue Jun 10 11:22:59 2025 +0200

    use complex::Complex

commit 6be52e0
Author: F Zotter <[email protected]>
Date:   Fri Jun 6 07:01:53 2025 +0200

    check crystal

commit f124b20
Author: Jannis Maier <[email protected]>
Date:   Thu Jun 5 14:09:28 2025 +0200

    fix: add missing values to types array

commit 49f4e59
Author: F Zotter <[email protected]>
Date:   Thu Jun 5 16:48:57 2025 +0200

    intensity for crystal

commit 76eee63
Author: F Zotter <[email protected]>
Date:   Tue Jun 3 15:02:28 2025 +0200

    crystal MD doku

commit c2a9fa7
Author: F Zotter <[email protected]>
Date:   Thu May 22 10:23:10 2025 +0200

    e field

commit b348901
Author: F Zotter <[email protected]>
Date:   Tue May 6 11:08:06 2025 +0200

    first implementation

    calc of e field for crystal

    clean up

commit 0f0960b
Author: F Zotter <[email protected]>
Date:   Tue Apr 8 18:27:02 2025 +0200

    add crystal as behaviour start

    crystal calculation mostly done

commit 2a4e184
Author: Sven Erdem <[email protected]>
Date:   Wed May 7 14:13:46 2025 +0200

    add stokes and electric field conversion

add crystal elementstring

rebase fix
@fannyzotter fannyzotter requested a review from ichinii June 24, 2025 11:47

### Bragg Angle Calculation

\\[
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for markdown the math mode is accessible through $

so:
$\theta_B = \arcsin\left(\frac{\lambda}{2d}\right)$
becomes
$\theta_B = \arcsin\left(\frac{\lambda}{2d}\right)$

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this is supported for mdBook. The convention seems to be what @fannyzotter did: mdBook Wiki Math

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, ours does not support $\theta_B$ notation only the
\[
\theta_B
\]
notation

r.m_field = reflect_field;

double reflectivity = intensity(reflect_field);
if (!sampleReflectivity(reflectivity, rand)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont use montecarlo method here. instead multiply the electric field with the reflectivity to adjust the intensity.

@fannyzotter fannyzotter merged commit 04a8446 into master Jun 24, 2025
6 checks passed
@fannyzotter fannyzotter deleted the crystal_rebase branch June 24, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants