Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ISC_126 - Travail Pratique 002 - Simulation de lignes de champ
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
florian.burgener
ISC_126 - Travail Pratique 002 - Simulation de lignes de champ
Commits
82e6f468
Commit
82e6f468
authored
3 years ago
by
gawen.ackerman
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
0a0ebd1d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/charge.c
+2
-1
2 additions, 1 deletion
src/charge.c
with
2 additions
and
1 deletion
src/charge.c
+
2
−
1
View file @
82e6f468
...
...
@@ -36,7 +36,8 @@ charge_t charge_create(double q, vector2_t pos) {
return
c
;
}
bool
compute_e
(
charge_t
c
,
vector2_t
p
,
double
eps
,
vector2_t
*
e
)
{
bool
compute_e
(
charge_t
c
,
vector2_t
p
,
double
eps
,
vector2_t
*
e
)
{
*
e
=
vector2_create_zero
();
vector2_t
r
=
vector2_substract
(
c
.
pos
,
p
);
double
norm_r
=
vector2_norm
(
r
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment