Base set

class xc.dq_ptrs_node

Bases: xc_base.CommandEntity

at((dq_ptrs_node)arg1, (int)arg2) → Node :

Access specified node with bounds checking.

C++ signature :
XC::Node at(XC::DqPtrs<XC::Node> {lvalue},unsigned long)
clear((dq_ptrs_node)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::DqPtrs<XC::Node> {lvalue})
getTags((dq_ptrs_node)arg1) → ID :

Returns node identifiers.

C++ signature :
XC::ID getTags(XC::DqPtrs<XC::Node> {lvalue})
size

Returns list size.

class xc.DqPtrsNode

Bases: xc.dq_ptrs_node

append((DqPtrsNode)arg1, (Node)arg2) → bool :

Appends node at the end of the list.

C++ signature :
bool append(XC::DqPtrsNode {lvalue},XC::Node*)
createInertiaLoads((DqPtrsNode)arg1, (Vector)arg2) → None :

Create the inertia load for the given acceleration vector.

C++ signature :
void createInertiaLoads(XC::DqPtrsNode {lvalue},XC::Vector)
getBnd((DqPtrsNode)arg1, (float)arg2) → BND3d :

Returns nodes boundary.

C++ signature :
BND3d getBnd(XC::DqPtrsNode {lvalue},double)
getCentroid((DqPtrsNode)arg1, (float)arg2) → Pos3d :

Returns nodes centroid.

C++ signature :
Pos3d getCentroid(XC::DqPtrsNode {lvalue},double)
getNearestNode((DqPtrsNode)arg1, (Pos3d)arg2) → Node :

Returns nearest node.

C++ signature :
XC::Node* getNearestNode(XC::DqPtrsNode {lvalue},Pos3d)
pickNodesInside((DqPtrsNode)arg1, (GeomObj3d)arg2, (float)arg3) → DqPtrsNode :

pickNodesInside(geomObj,tol) return the nodes inside the geometric object.

C++ signature :
XC::DqPtrsNode pickNodesInside(XC::DqPtrsNode {lvalue},GeomObj3d,double)
pushFront((DqPtrsNode)arg1, (Node)arg2) → bool :

Push node at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsNode {lvalue},XC::Node*)
class xc.dq_ptrs_element

Bases: xc_base.CommandEntity

at((dq_ptrs_element)arg1, (int)arg2) → Element :

Access specified element with bounds checking.

C++ signature :
XC::Element at(XC::DqPtrs<XC::Element> {lvalue},unsigned long)
clear((dq_ptrs_element)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::DqPtrs<XC::Element> {lvalue})
getTags((dq_ptrs_element)arg1) → ID :

Returns element identifiers.

C++ signature :
XC::ID getTags(XC::DqPtrs<XC::Element> {lvalue})
size

Returns list size.

class xc.DqPtrsElem

Bases: xc.dq_ptrs_element

append((DqPtrsElem)arg1, (Element)arg2) → bool :

Appends element at the end of the list.

C++ signature :
bool append(XC::DqPtrsElem {lvalue},XC::Element*)
createInertiaLoads((DqPtrsElem)arg1, (Vector)arg2) → None :

Create the inertia load for the given acceleration vector.

C++ signature :
void createInertiaLoads(XC::DqPtrsElem {lvalue},XC::Vector)
getAverageSize((DqPtrsElem)arg1, (bool)arg2) → float :

Get the average size of the elements (elements of dimension zero are ignored).

C++ signature :
double getAverageSize(XC::DqPtrsElem {lvalue},bool)
getBnd((DqPtrsElem)arg1, (float)arg2) → BND3d :

Returns elements boundary.

C++ signature :
BND3d getBnd(XC::DqPtrsElem {lvalue},double)
getContours((DqPtrsElem)arg1, (float)arg2) → dq_polyline3D :

Returns contour(s) from the element set in the form of closed 3D polylines.

C++ signature :
std::deque<Polyline3d, std::allocator<Polyline3d> > getContours(XC::DqPtrsElem {lvalue},double)
getMaterials((DqPtrsElem)arg1) → list :

getElementMaterials() return a list with the names of the element materials in the container.

C++ signature :
boost::python::list getMaterials(XC::DqPtrsElem {lvalue})
getNearestElement((DqPtrsElem)arg1, (Pos3d)arg2) → Element :

Returns nearest element.

C++ signature :
XC::Element* getNearestElement(XC::DqPtrsElem {lvalue},Pos3d)
getTypes((DqPtrsElem)arg1) → list :

getElementTypes() return a list with the element types in the container.

C++ signature :
boost::python::list getTypes(XC::DqPtrsElem {lvalue})
pickElemsInside((DqPtrsElem)arg1, (GeomObj3d)arg2, (float)arg3) → DqPtrsElem :

pickElemsInside(geomObj,tol) return the elements inside the geometric object.

C++ signature :
XC::DqPtrsElem pickElemsInside(XC::DqPtrsElem {lvalue},GeomObj3d,double)
pickElemsOfDimension((DqPtrsElem)arg1, (int)arg2) → DqPtrsElem :

pickElemsOfDimension(dim) return the elements whose dimension equals the argument.

C++ signature :
XC::DqPtrsElem pickElemsOfDimension(XC::DqPtrsElem {lvalue},unsigned long)
pickElemsOfMaterial((DqPtrsElem)arg1, (str)arg2) → DqPtrsElem :

pickElemsOfMaterial(materialName) return the elements that have that material.

C++ signature :
XC::DqPtrsElem pickElemsOfMaterial(XC::DqPtrsElem {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
pickElemsOfType((DqPtrsElem)arg1, (str)arg2) → DqPtrsElem :

pickElemsOfType(typeName) return the elements whose type contains the string.

C++ signature :
XC::DqPtrsElem pickElemsOfType(XC::DqPtrsElem {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
pushFront((DqPtrsElem)arg1, (Element)arg2) → bool :

Push element at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsElem {lvalue},XC::Element*)
class xc.dq_ptrs_constraint

Bases: xc_base.CommandEntity

at((dq_ptrs_constraint)arg1, (int)arg2) → Constraint :

Access specified constraint with bounds checking.

C++ signature :
XC::Constraint at(XC::DqPtrs<XC::Constraint> {lvalue},unsigned long)
clear((dq_ptrs_constraint)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::DqPtrs<XC::Constraint> {lvalue})
getTags((dq_ptrs_constraint)arg1) → ID :

Returns constraint identifiers.

C++ signature :
XC::ID getTags(XC::DqPtrs<XC::Constraint> {lvalue})
size

Returns list size.

class xc.DqPtrsConstraint

Bases: xc.dq_ptrs_constraint

append((DqPtrsConstraint)arg1, (Constraint)arg2) → bool :

Appends constraint at the end of the list.

C++ signature :
bool append(XC::DqPtrsConstraint {lvalue},XC::Constraint*)
pushFront((DqPtrsConstraint)arg1, (Constraint)arg2) → bool :

Push constraint at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsConstraint {lvalue},XC::Constraint*)
class xc.SetMeshComp

Bases: xc.SetBase

aliveElements((SetMeshComp)arg1) → None :

Activates set’s elements.

C++ signature :
void aliveElements(XC::SetMeshComp {lvalue})
appendFromGeomEntity((SetMeshComp)arg1, (SetBase)arg2) → None :

Extend this set with the nodes and elements of the geometric entity being passed as parameter.

C++ signature :
void appendFromGeomEntity(XC::SetMeshComp {lvalue},XC::SetBase)
clear((SetMeshComp)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::SetMeshComp {lvalue})
constraints

constraints of the set.

elements

elements of the set.

fillDownwards((SetMeshComp)arg1) → None :

add entities downwards.

C++ signature :
void fillDownwards(XC::SetMeshComp {lvalue})
fillUpwards((SetMeshComp)arg1) → None :

add entities upwards.

C++ signature :
void fillUpwards(XC::SetMeshComp {lvalue})
getBnd((SetMeshComp)arg1, (float)arg2) → BND3d :

Returns set boundary.

C++ signature :
BND3d getBnd(XC::SetMeshComp {lvalue},double)
getConstraints

return the constraints of the set.

getElementMaterials((SetMeshComp)arg1) → list :

getElementMaterials() return a list with the names of the element materials in the container.

C++ signature :
boost::python::list getElementMaterials(XC::SetMeshComp {lvalue})
getElementTypes((SetMeshComp)arg1) → list :

getElementTypes() return a list with the element types in the container.

C++ signature :
boost::python::list getElementTypes(XC::SetMeshComp {lvalue})
getElements

return the elements of the set. DEPRECATED use elements.

getInitialStiffness((Node)arg1, (object)arg2) → Matrix :

getInitialStiffness(elementSet) return the contribution of the elements to the initial stiffness of the node argument.

C++ signature :
XC::Matrix getInitialStiffness(XC::Node {lvalue},std::set<XC::Element const*, std::less<XC::Element const*>, std::allocator<XC::Element const*> >)
getNearestElement((SetMeshComp)arg1, (Pos3d)arg2) → Element :

Returns nearest element.

C++ signature :
XC::Element* getNearestElement(XC::SetMeshComp {lvalue},Pos3d)
getNearestNode((SetMeshComp)arg1, (Pos3d)arg2) → Node :

Returns nearest node.

C++ signature :
XC::Node* getNearestNode(XC::SetMeshComp {lvalue},Pos3d)
getNodes

return the nodes of the set. DEPRECATED use nodes.

getNumDeadElements((SetMeshComp)arg1) → int :

Number of inactive elements.

C++ signature :
unsigned long getNumDeadElements(XC::SetMeshComp {lvalue})
getNumDeadNodes((SetMeshComp)arg1) → int :

Number of inactive nodes.

C++ signature :
unsigned long getNumDeadNodes(XC::SetMeshComp {lvalue})
getNumLiveElements((SetMeshComp)arg1) → int :

Number of active elements.

C++ signature :
unsigned long getNumLiveElements(XC::SetMeshComp {lvalue})
getNumLiveNodes((SetMeshComp)arg1) → int :

Number of active nodes.

C++ signature :
unsigned long getNumLiveNodes(XC::SetMeshComp {lvalue})
getResistingSlidingVectorsSystem3d((SetMeshComp)arg1, (Plane3d)arg2, (Pos3d)arg3, (float)arg4, (bool)arg5) → SlidingVectorsSystem3d :

Return the resultant of the forces over the nodes near to the plane, of the elements behind the plane.

C++ signature :
SlidingVectorsSystem3d getResistingSlidingVectorsSystem3d(XC::SetMeshComp {lvalue},Plane,Pos3d,double,bool)
getTangentStiffness((SetMeshComp)arg1, (Node)arg2) → Matrix :

getTangentStiffness(node) return the contribution of the elements to the tangent stiffness of the node argument.

C++ signature :
XC::Matrix getTangentStiffness(XC::SetMeshComp {lvalue},XC::Node)
killElements((SetMeshComp)arg1) → None :

Deactivates set’s elements.

C++ signature :
void killElements(XC::SetMeshComp {lvalue})
name

get object name.

nodes

nodes of the set.

pickElemsInside((SetMeshComp)arg1, (str)arg2, (GeomObj3d)arg3, (float)arg4) → SetMeshComp :

pickElemsInside(newSetName, geomObj, tol) return a set with the elements inside the geometric object.

C++ signature :
XC::SetMeshComp pickElemsInside(XC::SetMeshComp {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,GeomObj3d,double)
pickElemsOfMaterial((SetMeshComp)arg1, (str)arg2, (str)arg3) → SetMeshComp :

pickElemsOfMaterial(materialName) return the elements that have that material.

C++ signature :
XC::SetMeshComp pickElemsOfMaterial(XC::SetMeshComp {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
pickElemsOfType((SetMeshComp)arg1, (str)arg2, (str)arg3) → SetMeshComp :

pickElemsOfType(typeName) return the elements whose type contains the string argument.

C++ signature :
XC::SetMeshComp pickElemsOfType(XC::SetMeshComp {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
pickNodesInside((SetMeshComp)arg1, (str)arg2, (GeomObj3d)arg3, (float)arg4) → SetMeshComp :

pickNodesInside(newSetName, geomObj, tol) return a set with the nodes inside the geometric object.

C++ signature :
XC::SetMeshComp pickNodesInside(XC::SetMeshComp {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,GeomObj3d,double)
rename((SetMeshComp)arg1, (str)arg2) → None :

Change the name of the set.

C++ signature :
void rename(XC::SetMeshComp {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
transforms((SetMeshComp)arg1, (TrfGeom)arg2) → None :

Apply transformation to set members.

C++ signature :
void transforms(XC::SetMeshComp {lvalue},XC::TrfGeom)
class xc.dq_ptrs_pnt

Bases: xc_base.CommandEntity

at((dq_ptrs_pnt)arg1, (int)arg2) → Pnt :

Access specified point with bounds checking.

C++ signature :
XC::Pnt at(XC::DqPtrs<XC::Pnt> {lvalue},unsigned long)
clear((dq_ptrs_pnt)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::DqPtrs<XC::Pnt> {lvalue})
findTag((dq_ptrs_pnt)arg1, (int)arg2) → Pnt :

Returns the point identified by the tag argument.

C++ signature :
XC::Pnt* findTag(XC::DqPtrs<XC::Pnt> {lvalue},unsigned long)
class xc.lstPnts

Bases: xc.dq_ptrs_pnt

append((lstPnts)arg1, (Pnt)arg2) → bool :

Append a point at the end of the list.

C++ signature :
bool append(XC::DqPtrsEntities<XC::Pnt> {lvalue},XC::Pnt*)
findTag((lstPnts)arg1, (int)arg2) → Pnt :

Returns the point identified by the tag argument.

C++ signature :
XC::Pnt* findTag(XC::DqPtrsEntities<XC::Pnt> {lvalue},unsigned long)
getBnd((lstPnts)arg1) → BND3d :

Return points boundary.

C++ signature :
BND3d getBnd(XC::DqPtrsEntities<XC::Pnt> {lvalue})
getNearest((lstPnts)arg1, (Pos3d)arg2) → Pnt :

Return the nearest point to the position argument.

C++ signature :
XC::Pnt* getNearest(XC::DqPtrsEntities<XC::Pnt> {lvalue},Pos3d)
pickPointsInside((lstPnts)arg1, (GeomObj3d)arg2, (float)arg3) → lstPnts :

pickPointsInside(geomObj,tol) return the nodes inside the geometric object.

C++ signature :
XC::DqPtrsEntities<XC::Pnt> pickPointsInside(XC::DqPtrsEntities<XC::Pnt> {lvalue},GeomObj3d,double)
pushFront((lstPnts)arg1, (Pnt)arg2) → bool :

Push point at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsEntities<XC::Pnt> {lvalue},XC::Pnt*)
size

Return list size.

class xc.dq_line_ptrs

Bases: xc_base.CommandEntity

at((dq_line_ptrs)arg1, (int)arg2) → Edge :

Access specified line with bounds checking.

C++ signature :
XC::Edge at(XC::DqPtrs<XC::Edge> {lvalue},unsigned long)
clear((dq_line_ptrs)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::DqPtrs<XC::Edge> {lvalue})
findTag((dq_line_ptrs)arg1, (int)arg2) → Edge :

Returns the edge identified by the tag argument.

C++ signature :
XC::Edge* findTag(XC::DqPtrs<XC::Edge> {lvalue},unsigned long)
size

Return container size.

class xc.lstLines

Bases: xc.dq_line_ptrs

append((lstLines)arg1, (Edge)arg2) → bool :

Appends line at the end of the list.

C++ signature :
bool append(XC::DqPtrsEntities<XC::Edge> {lvalue},XC::Edge*)
findTag((lstLines)arg1, (int)arg2) → Edge :

Returns the line identified by the tag argument.

C++ signature :
XC::Edge* findTag(XC::DqPtrsEntities<XC::Edge> {lvalue},unsigned long)
getBnd((lstLines)arg1) → BND3d :

Returns lines boundary.

C++ signature :
BND3d getBnd(XC::DqPtrsEntities<XC::Edge> {lvalue})
pickLinesInside((lstLines)arg1, (GeomObj3d)arg2, (float)arg3) → lstLines :

pickLinesInside(geomObj,tol) return the nodes inside the geometric object.

C++ signature :
XC::DqPtrsEntities<XC::Edge> pickLinesInside(XC::DqPtrsEntities<XC::Edge> {lvalue},GeomObj3d,double)
pushFront((lstLines)arg1, (Edge)arg2) → bool :

Push line at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsEntities<XC::Edge> {lvalue},XC::Edge*)
class xc.dq_ptrs_surfaces

Bases: xc_base.CommandEntity

at((dq_ptrs_surfaces)arg1, (int)arg2) → Face :

Access specified surface with bounds checking.

C++ signature :
XC::Face at(XC::DqPtrs<XC::Face> {lvalue},unsigned long)
clear((dq_ptrs_surfaces)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::DqPtrs<XC::Face> {lvalue})
findTag((dq_ptrs_surfaces)arg1, (int)arg2) → Face :

Returns the surface identified by the tag argument.

C++ signature :
XC::Face* findTag(XC::DqPtrs<XC::Face> {lvalue},unsigned long)
class xc.lstSurfaces

Bases: xc.dq_ptrs_surfaces

append((lstSurfaces)arg1, (Face)arg2) → bool :

Appends surface at the end of the list.

C++ signature :
bool append(XC::DqPtrsEntities<XC::Face> {lvalue},XC::Face*)
findTag((lstSurfaces)arg1, (int)arg2) → Face :

Returns the surface identified by the tag argument.

C++ signature :
XC::Face* findTag(XC::DqPtrsEntities<XC::Face> {lvalue},unsigned long)
getBnd((lstSurfaces)arg1) → BND3d :

Returns surfaces boundary.

C++ signature :
BND3d getBnd(XC::DqPtrsEntities<XC::Face> {lvalue})
pickSurfacesInside((lstSurfaces)arg1, (GeomObj3d)arg2, (float)arg3) → lstSurfaces :

pickSurfacesInside(geomObj,tol) return the nodes inside the geometric object.

C++ signature :
XC::DqPtrsEntities<XC::Face> pickSurfacesInside(XC::DqPtrsEntities<XC::Face> {lvalue},GeomObj3d,double)
pushFront((lstSurfaces)arg1, (Face)arg2) → bool :

Push surface at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsEntities<XC::Face> {lvalue},XC::Face*)
size

Returns list size.

class xc.lstBodies

Bases: xc.dq_body_ptrs

append((lstBodies)arg1, (Body)arg2) → bool :

Appends body at the end of the list.

C++ signature :
bool append(XC::DqPtrsEntities<XC::Body> {lvalue},XC::Body*)
findTag((lstBodies)arg1, (int)arg2) → Body :

Returns the body identified by the tag argument.

C++ signature :
XC::Body* findTag(XC::DqPtrsEntities<XC::Body> {lvalue},unsigned long)
getBnd((lstBodies)arg1) → BND3d :

Returns bodies boundary.

C++ signature :
BND3d getBnd(XC::DqPtrsEntities<XC::Body> {lvalue})
pickBodiesInside((lstBodies)arg1, (GeomObj3d)arg2, (float)arg3) → lstBodies :

pickBodiesInside(geomObj,tol) return the nodes inside the geometric object.

C++ signature :
XC::DqPtrsEntities<XC::Body> pickBodiesInside(XC::DqPtrsEntities<XC::Body> {lvalue},GeomObj3d,double)
pushFront((lstBodies)arg1, (Body)arg2) → bool :

Push body at the beginning of the list.

C++ signature :
bool pushFront(XC::DqPtrsEntities<XC::Body> {lvalue},XC::Body*)
size

Returns list size.

class xc.Set

Bases: xc.SetMeshComp

bodies

bodies of the set.

clear((Set)arg1) → None :

Removes all items.

C++ signature :
void clear(XC::Set {lvalue})
description

Description (string) of the set.

fillDownwards((Set)arg1) → None :

add entities downwards.

C++ signature :
void fillDownwards(XC::Set {lvalue})
fillUpwards((Set)arg1) → None :

add entities upwards.

C++ signature :
void fillUpwards(XC::Set {lvalue})
getBnd((Set)arg1, (float)arg2) → BND3d :

Returns set boundary.

C++ signature :
BND3d getBnd(XC::Set {lvalue},double)
getBodies

return the bodies of the set.

getEntities

return the entities (points, lines, surfaces,…) of the set.

getEntitiesSet((Set)arg1) → Set :

Return the entities (points, lines, surfaces,…) on a set.

C++ signature :
XC::Set getEntitiesSet(XC::Set {lvalue})
getLines

return the lines of the set.

getMeshComponents

return the mesh components (nodes, elements,…) of the set.

getMeshComponentsSet((Set)arg1) → Set :

Return the mesh components (nodes, elements,…) on a set.

C++ signature :
XC::Set getMeshComponentsSet(XC::Set {lvalue})
getPoints

return the points of the set.

getSurfaces

return the surfaces of the set.

lines

lines of the set.

numerate((Set)arg1) → None :

Numerate entities (VTK).

C++ signature :
void numerate(XC::Set {lvalue})
points

points of the set.

surfaces

surfaces of the set.