Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/geode/io/mesh/detail/vti_grid_output.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@

#include <string>

#include <geode/geometry/coordinate_system.hpp>

#include <geode/mesh/core/grid.hpp>

#include <geode/io/image/detail/vti_output_impl.hpp>

namespace geode

Check warning on line 34 in include/geode/io/mesh/detail/vti_grid_output.hpp

View workflow job for this annotation

GitHub Actions / test / tidy

include/geode/io/mesh/detail/vti_grid_output.hpp:34:1 [modernize-concat-nested-namespaces]

nested namespaces can be concatenated
{
namespace detail
{
Expand Down Expand Up @@ -58,7 +60,7 @@
write_cell_data( piece );
}

void write_header( pugi::xml_node& header_node )

Check warning on line 63 in include/geode/io/mesh/detail/vti_grid_output.hpp

View workflow job for this annotation

GitHub Actions / test / tidy

include/geode/io/mesh/detail/vti_grid_output.hpp:63:18 [readability-function-cognitive-complexity]

function 'write_header' has cognitive complexity of 11 (threshold 10)
{
const auto& coordinate_system =
this->mesh().grid_coordinate_system();
Expand Down Expand Up @@ -88,7 +90,7 @@
header_node.append_attribute( "Spacing" )
.set_value( spacing_str.c_str() );
std::string direction_str;
for( const auto d1 : LRange{ dimension } )

Check warning on line 93 in include/geode/io/mesh/detail/vti_grid_output.hpp

View workflow job for this annotation

GitHub Actions / test / tidy

include/geode/io/mesh/detail/vti_grid_output.hpp:93:33 [readability-identifier-length]

variable name 'd1' is too short, expected at least 3 characters
{
if( d1 != 0 )
{
Expand Down
Loading