Commit 66cfed4f authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Fix formatting

parent 6d106aed
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -244,8 +244,7 @@ void DepositionGeant4Module::initialize() {
                region->AddRootLogicalVolume(logical_volume.get());

                LOG(DEBUG) << "Added " << logical_volume->GetName() << " to region " << region->GetName()
                           << " for MicroElec physics"
                           << "\n";
                           << " for MicroElec physics" << "\n";
            }
        }
    }
+2 −1
Original line number Diff line number Diff line
@@ -280,7 +280,8 @@ FieldData<double> ElectricFieldReaderModule::read_field() {
        LOG(TRACE) << "Fetching electric field from mesh file";

        // Get field from file
        auto field_data = field_parser_.getByFileName(config_.getPath("file_name", true), config_.get<std::string>("file_units"));
        auto field_data =
            field_parser_.getByFileName(config_.getPath("file_name", true), config_.get<std::string>("file_units"));

        // Warn at field values larger than 1MV/cm / 10 MV/mm. Simple lookup per vector component, not total field magnitude
        auto max_field = *std::max_element(std::begin(*field_data.getData()), std::end(*field_data.getData()));
+1 −2
Original line number Diff line number Diff line
@@ -125,8 +125,7 @@ std::string MeshElement::print(Point& qp) const {
    std::stringstream stream;
    for(size_t index = 0; index < dimension_ + 1; index++) {
        stream << "Tetrahedron vertex (" << vertices_[index].x << ", " << vertices_[index].y << ", " << vertices_[index].z
               << ") - "
               << " Distance: " << get_distance(index, qp) << " - Electric field: (" << e_field_[index].x << ", "
               << ") - " << " Distance: " << get_distance(index, qp) << " - Electric field: (" << e_field_[index].x << ", "
               << e_field_[index].y << ", " << e_field_[index].z << ")" << std::endl;
    }
    stream << "Volume: " << volume_;
+1 −1

File changed.

Contains only whitespace changes.