[asl] 01/27: Fix typo
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sat Nov 26 16:35:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository asl.
commit ec67fe3f92dbc78906ea4b9f8c511a4447f911b5
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date: Wed Sep 14 20:26:04 2016 +0300
Fix typo
---
src/acl/acl.cxx | 2 +-
src/acl/aclMath/aclBarycentric.cxx | 8 ++++----
src/math/aslBarycentric.cxx | 8 ++++----
src/num/aslBCond.cxx | 14 +++++++-------
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/acl/acl.cxx b/src/acl/acl.cxx
index 624929b..7ae8239 100644
--- a/src/acl/acl.cxx
+++ b/src/acl/acl.cxx
@@ -53,7 +53,7 @@
#include "aclMath/aclVectorOfElementsDef.h"
#include "aclMath/aclMatrixOfElements.h"
-#include<string>
+#include <string>
using namespace std;
using namespace asl;
diff --git a/src/acl/aclMath/aclBarycentric.cxx b/src/acl/aclMath/aclBarycentric.cxx
index 4883224..473cb7b 100644
--- a/src/acl/aclMath/aclBarycentric.cxx
+++ b/src/acl/aclMath/aclBarycentric.cxx
@@ -47,7 +47,7 @@ namespace acl
acl::TypeID type(getElementType(p[0]));
if (p.size()-1 != p[0].size())
- errorMessage("Barycentric::init: number of points does not corresponds to the dimentionality");
+ errorMessage("Barycentric::init: number of points does not corresponds to the dimensionality");
corners.resize(p.size());
for (unsigned int i(0); i < p.size(); ++i)
@@ -72,7 +72,7 @@ namespace acl
VectorOfElements Barycentric::getCordinates(const VectorOfElements & p)
{
if(t.getNRows() != p.size())
- errorMessage("Barycentric::interpolate: point dimensionality does not corresponds to the triangle dimentionality");
+ errorMessage("Barycentric::interpolate: point dimensionality does not corresponds to the triangle dimensionality");
return tInv * (p - corners[0]);
}
@@ -80,7 +80,7 @@ namespace acl
const VectorOfElements & f)
{
if(p.size()+1 != f.size())
- errorMessage("Barycentric::interpolate: number of funciton values does not corresponds to the dimentionality");
+ errorMessage("Barycentric::interpolate: number of funciton values does not corresponds to the dimensionality");
VectorOfElements fm(subVE(f, 1, p.size()) - catN(subVE(f, 0), p.size()));
return subVE(f,0) + fm * getCordinates(p);
@@ -100,7 +100,7 @@ namespace acl
VectorOfElements Barycentric::gradient(const VectorOfElements & f)
{
if(t.getNRows()+1 != f.size())
- errorMessage("Barycentric::gradient: number of funciton values does not corresponds to the dimentionality");
+ errorMessage("Barycentric::gradient: number of funciton values does not corresponds to the dimensionality");
unsigned int nd(f.size()-1);
VectorOfElements fm(subVE(f, 1, nd) - catN(subVE(f, 0), nd));
return fm*tInv;
diff --git a/src/math/aslBarycentric.cxx b/src/math/aslBarycentric.cxx
index c66058f..9325c97 100644
--- a/src/math/aslBarycentric.cxx
+++ b/src/math/aslBarycentric.cxx
@@ -45,7 +45,7 @@ namespace asl
{
if(p.size()-1 != p[0].getSize())
- errorMessage("asl::Barycentric::init: number of points does not corresponds to the dimentionality");
+ errorMessage("asl::Barycentric::init: number of points does not corresponds to the dimensionality");
corners=p;
@@ -64,7 +64,7 @@ namespace asl
AVec<> Barycentric::getCordinates(const AVec<> & p)
{
if(t.getNRow() != p.getSize())
- errorMessage("asl::Barycentric::interpolate: point dimensionality does not corresponds to the triangle dimentionality");
+ errorMessage("asl::Barycentric::interpolate: point dimensionality does not corresponds to the triangle dimensionality");
return tInv * (p - corners[0]);
}
@@ -72,7 +72,7 @@ namespace asl
const AVec<> & f)
{
if(p.getSize()+1 != f.getSize())
- errorMessage("Barycentric::interpolate: number of funciton values does not corresponds to the dimentionality");
+ errorMessage("Barycentric::interpolate: number of funciton values does not corresponds to the dimensionality");
AVec<> fm(subAVec(f, 1, p.getSize()) - AVec<>(p.getSize(), f[0]));
return f[0] + fm * getCordinates(p);
@@ -91,7 +91,7 @@ namespace asl
AVec<> Barycentric::gradient(const AVec<> & f)
{
if(t.getNRow()+1 != f.getSize())
- errorMessage("Barycentric::gradient: number of funciton values does not corresponds to the dimentionality");
+ errorMessage("Barycentric::gradient: number of funciton values does not corresponds to the dimensionality");
unsigned int nd(f.getSize()-1);
AVec<> fm(subAVec(f, 1, nd) - AVec<>(nd,f[0]));
return fm*tInv;
diff --git a/src/num/aslBCond.cxx b/src/num/aslBCond.cxx
index 9955cd3..977109a 100644
--- a/src/num/aslBCond.cxx
+++ b/src/num/aslBCond.cxx
@@ -95,7 +95,7 @@ namespace asl
{
unsigned int numD(nD(bl));
if(numD != 2 && numD != 3)
- errorMessage("BCondWithMap : the map has wrong dimentionality");
+ errorMessage("BCondWithMap : the map has wrong dimensionality");
}
@@ -110,7 +110,7 @@ namespace asl
{
unsigned int numD(nD(bl));
if(numD != 2 && numD != 3)
- errorMessage("BCondWithMap : the map has wrong dimentionality");
+ errorMessage("BCondWithMap : the map has wrong dimensionality");
}
BCondWithMap::BCondWithMap(SPAbstractDataWithGhostNodes m,
@@ -126,9 +126,9 @@ namespace asl
unsigned int numD(nD(bl));
unsigned int numDcd(nD(computationalDomain->getBlock()));
if(numD != numDcd)
- errorMessage("BCondWithMap : the map and computationalDomain has different dimentionality");
+ errorMessage("BCondWithMap : the map and computationalDomain has different dimensionality");
if(numD != 2 && numD != 3)
- errorMessage("BCondWithMap : the map has wrong dimentionality");
+ errorMessage("BCondWithMap : the map has wrong dimensionality");
}
@@ -144,7 +144,7 @@ namespace asl
{
unsigned int numD(nD(bl));
if(numD != 2 && numD != 3)
- errorMessage("BCondWithMap : the map has wrong dimentionality");
+ errorMessage("BCondWithMap : the map has wrong dimensionality");
}
BCondWithMap::BCondWithMap(SPDistanceFunction m,
@@ -160,7 +160,7 @@ namespace asl
{
unsigned int numD(nD(bl));
if(numD != 2 && numD != 3)
- errorMessage("BCondWithMap : the map has wrong dimentionality");
+ errorMessage("BCondWithMap : the map has wrong dimensionality");
}
@@ -544,7 +544,7 @@ namespace asl
{
const AVec<int> & s(a.getBlock().getSize());
if (nD(s)==2){
- asl::errorMessage("addSliceZ: The data dimentionality is 2");
+ asl::errorMessage("addSliceZ: The data dimensionality is 2");
}
else
if (nD(s)==3){
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git
More information about the debian-science-commits
mailing list