26 #ifndef TimeAveragedLebedevCG_H
27 #define TimeAveragedLebedevCG_H
83 void setR(
double radiusInner,
double radiusOuter);
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Contains the computed field values, like density, momentum and stress.
Definition: StandardFields.h:51
Combines the position of the CGPoint (e.g. x, y, z), the parameters of the coarse-graining function (...
Definition: CGPoint.h:44
Specialisation of TimeAveragedCG with coordinates XYZ used for LebedevCG.
Definition: TimeAveragedCG.h:130
Definition: TimeAveragedLebedevCG.h:33
TimeAveragedLebedevCG()=default
Default constructor. Only sets the evaluation functions, no points are created initially.
int getNR()
Returns the number of grid points in r-direction.
int nR_
Definition: TimeAveragedLebedevCG.h:111
void evaluateParticle(BaseParticle &p)
Evaluates the contributions of a particle.
double radiusOuter_
Definition: TimeAveragedLebedevCG.h:110
CGPoint< CGCoordinates::XYZ, Fields > Point
Definition: TimeAveragedLebedevCG.h:36
void createMesh() override
Creates a mesh based on Lebedev quadrature points.
void evaluateContact(BaseInteraction &i)
Evaluates the contribution of an interaction.
void setR(double radiusInner, double radiusOuter)
Sets the inner and outer radius of the mesh.
double getRadiusOuter()
Returns the outer radius of the grid.
TimeAveragedLebedevCG< BaseFunction, Fields > * copy() const
Creates a copy of the current instance.
double getRadiusInner()
Returns the inner radius of the grid.
double radiusInner_
Definition: TimeAveragedLebedevCG.h:109
void evaluate()
Evaluates CG fields.
virtual ~TimeAveragedLebedevCG()
Default destructor; does nothing.
void setNR(int nR)
Sets the number of mesh points in the r-direction.
TimeAveragedLebedevCG(const TimeAveragedLebedevCG &p)=default
Default copy Constructor; copies all the member variables.
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51