Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chaofan Chen
ogs
Commits
a8826ab1
Commit
a8826ab1
authored
3 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MeL] Fix xdmf.org links.
parent
00c9b6d0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MeshLib/IO/XDMF/XdmfData.h
+1
-1
1 addition, 1 deletion
MeshLib/IO/XDMF/XdmfData.h
MeshLib/IO/XDMF/transformData.cpp
+1
-1
1 addition, 1 deletion
MeshLib/IO/XDMF/transformData.cpp
MeshLib/IO/XDMF/transformData.h
+2
-2
2 additions, 2 deletions
MeshLib/IO/XDMF/transformData.h
with
4 additions
and
4 deletions
MeshLib/IO/XDMF/XdmfData.h
+
1
−
1
View file @
a8826ab1
...
@@ -56,7 +56,7 @@ struct XdmfData final
...
@@ -56,7 +56,7 @@ struct XdmfData final
std
::
optional
<
MeshLib
::
MeshItemType
>
attribute_center
,
std
::
optional
<
MeshLib
::
MeshItemType
>
attribute_center
,
unsigned
int
const
index
,
unsigned
int
n_files
);
unsigned
int
const
index
,
unsigned
int
n_files
);
// a hyperslab is defined by starts and strides see
// a hyperslab is defined by starts and strides see
// https://
www.
xdmf.org/index.php/XDMF_Model_and_Format#HyperSlab
// https://xdmf.org/index.php/XDMF_Model_and_Format#HyperSlab
std
::
vector
<
XdmfDimType
>
starts
;
std
::
vector
<
XdmfDimType
>
starts
;
std
::
vector
<
XdmfDimType
>
strides
;
std
::
vector
<
XdmfDimType
>
strides
;
std
::
vector
<
XdmfDimType
>
global_block_dims
;
std
::
vector
<
XdmfDimType
>
global_block_dims
;
...
...
This diff is collapsed.
Click to expand it.
MeshLib/IO/XDMF/transformData.cpp
+
1
−
1
View file @
a8826ab1
...
@@ -30,7 +30,7 @@ namespace MeshLib::IO
...
@@ -30,7 +30,7 @@ namespace MeshLib::IO
{
{
struct
XdmfTopology
struct
XdmfTopology
{
{
// https://
www.
xdmf.org/index.php/XDMF_Model_and_Format#Topology, Section
// https://xdmf.org/index.php/XDMF_Model_and_Format#Topology, Section
// Arbitrary
// Arbitrary
unsigned
int
id
;
unsigned
int
id
;
unsigned
int
number_of_nodes
;
unsigned
int
number_of_nodes
;
...
...
This diff is collapsed.
Click to expand it.
MeshLib/IO/XDMF/transformData.h
+
2
−
2
View file @
a8826ab1
...
@@ -54,7 +54,7 @@ XdmfHdfData transformTopology(std::vector<int> const& values,
...
@@ -54,7 +54,7 @@ XdmfHdfData transformTopology(std::vector<int> const& values,
/**
/**
* \brief Copies all node points into a new vector. Contiguous data used for
* \brief Copies all node points into a new vector. Contiguous data used for
* writing. Conform with XDMF standard in
* writing. Conform with XDMF standard in
* https://
www.
xdmf.org/index.php/XDMF_Model_and_Format
* https://xdmf.org/index.php/XDMF_Model_and_Format
* @param mesh OGS mesh can be mesh or partitionedMesh
* @param mesh OGS mesh can be mesh or partitionedMesh
* @return vector containing a copy of the data
* @return vector containing a copy of the data
*/
*/
...
@@ -62,7 +62,7 @@ std::vector<double> transformToXDMFGeometry(MeshLib::Mesh const& mesh);
...
@@ -62,7 +62,7 @@ std::vector<double> transformToXDMFGeometry(MeshLib::Mesh const& mesh);
/**
/**
* \brief Copies all cells into a new vector. Contiguous data used for writing.
* \brief Copies all cells into a new vector. Contiguous data used for writing.
* The topology is specific to xdmf because it contains the xdmf cell types!!
* The topology is specific to xdmf because it contains the xdmf cell types!!
* See section topology in https://
www.
xdmf.org/index.php/XDMF_Model_and_Format
* See section topology in https://xdmf.org/index.php/XDMF_Model_and_Format
* @param mesh OGS mesh can be mesh or partitionedMesh
* @param mesh OGS mesh can be mesh or partitionedMesh
* @param offset Local offset to transform local to global cell ID. Offset must
* @param offset Local offset to transform local to global cell ID. Offset must
* be zero in serial and must be defined for each process in parallel execution.
* be zero in serial and must be defined for each process in parallel execution.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment