-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create StressTensor/Pressure/Energy observables #3718
Comments
offline discussion: rename |
Particles of this type are non-physical (just for algorithmic reasons in the MC code) and exist only temporarily (i.e. at times where no observable can be called by the user). These temporary types should not be considered in any observable calculation. |
Follow-up to #3712.
Next step is to convert the
Observable_stat
globals intoObservable
classes. Here is the plan:StressTensorKinetic
: NxN matrixStressTensorVirtualSites
: NxN matrixStressTensorExternalFields
: NxN matrixStressTensorCoulomb
: NxN matrix, there doesn't seem to be a need for 2 or 3 matricesStressTensorDipolar
: skip it: not implementedStressTensorBonded
: NxN matrixStressTensorNonBonded
: NxN matrixStressTensorBondedContributions
: ZxZxNxN with Z the number of bonded IAsStressTensorNonBondedContributions
: ZxZxNxN? if Z ismax_seen_particle_type
, we'll have a large matrix with reaction ensemble algorithms (the core base classReactionAlgorithm
sets the non-interacting type to 100)StressTensorNonBondedIntra
: skip it: just get the diagonal terms ofStressTensorNonBondedContributions
StressTensorNonBondedInter
: skip it, just get the off-diagonal terms ofStressTensorNonBondedContributions
StressTensorBonded(bonds=[bond1, bond2] or ['FENE', 'AngleCosine'] or 'all')
: NxN matrixStressTensorNonBonded(types1=[0, 1] or 'all', types2=[3, 5] or 'all', interactions=['wca', 'hertzian'] or 'all')
: NxN matrixSame strategy for
Pressure*
andEnergy*
observables.EnergyDipolar
will be implemented.That's going to be a lot of files. Should we create a new subfolder
src/core/observables/impl
to move those and all the already existingfinal
classes, so thatsrc/core/observables
only containsvirtual
base classes, e.g.PidObservable
,ProfileObservable
,PidProfileObservable
, etc.?The text was updated successfully, but these errors were encountered: