Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/FillAction/FillRegularGridAction.cpp

    rbe21fa rf10b0c  
    8282  LinkedCell_deprecated * LC = NULL;
    8383  Tesselation * TesselStruct = NULL;
    84   if (params.SphereRadius != 0.) {
     84  if (params.SphereRadius.get() != 0.) {
    8585    if ( atoms.size() == 0) {
    86       ELOG(1, "You have given a sphere radius " << params.SphereRadius
     86      ELOG(1, "You have given a sphere radius " << params.SphereRadius.get()
    8787          << " != 0, but have not select any molecules.");
    8888      return Action::failure;
     
    9292
    9393    // create tesselation
    94     LC = new LinkedCell_deprecated(cloud, 2.*params.SphereRadius);
     94    LC = new LinkedCell_deprecated(cloud, 2.*params.SphereRadius.get());
    9595    TesselStruct = new Tesselation;
    96     (*TesselStruct)(cloud, params.SphereRadius);
     96    (*TesselStruct)(cloud, params.SphereRadius.get());
    9797
    9898    // and create predicate
     
    106106    FillPredicate *voidnode_predicate = new FillPredicate(
    107107        IsVoidNode_FillPredicate(
    108             Sphere(zeroVec, params.mindistance)
     108            Sphere(zeroVec, params.mindistance.get())
    109109            )
    110110        );
     
    112112    if (surface_predicate != NULL)
    113113      Andpredicate = (Andpredicate) && !(*surface_predicate);
    114     Mesh *mesh = new CubeMesh(params.counts, params.offset, World::getInstance().getDomain().getM());
     114    Mesh *mesh = new CubeMesh(params.counts.get(), params.offset.get(), World::getInstance().getDomain().getM());
    115115    Inserter *inserter = new Inserter(
    116116        Inserter::impl_ptr(
    117117            new RandomInserter(
    118                 params.RandAtomDisplacement,
    119                 params.RandMoleculeDisplacement,
    120                 params.DoRotate)
     118                params.RandAtomDisplacement.get(),
     119                params.RandMoleculeDisplacement.get(),
     120                params.DoRotate.get())
    121121            )
    122122        );
Note: See TracChangeset for help on using the changeset viewer.